Bladeren bron

Replace another 2 .URL occurrences with .Permalink (#275)

* Replace another 2 .URL occurrences with .Permalink

This is basically a completion of #216

* Revert site-navigation URL change
tags/2.6.0
Sandro Santilli 4 jaren geleden
bovenliggende
commit
2d6a91d48a
No account linked to committer's email address
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2
    2
      layouts/partials/social-share.html

+ 2
- 2
layouts/partials/social-share.html Bestand weergeven

@@ -1,5 +1,5 @@
{{ $title := .Title }}
{{ $url := printf "%s" .URL | absLangURL }}
{{ $url := printf "%s" .Permalink | absLangURL }}
{{ $icon_size := "32px" }}

{{ if not .Params.disable_share }}
@@ -23,4 +23,4 @@
{{ partialCached "svg/linkedin.svg" (dict "size" $icon_size) $icon_size }}
</a>
</div>
{{ end }}
{{ end }}

Laden…
Annuleren
Opslaan