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
This commit is contained in:
Sandro Santilli 2020-05-12 14:36:33 +02:00 committed by GitHub
parent 6500b99ba6
commit 2d6a91d48a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}