Browse Source

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 years ago
parent
commit
2d6a91d48a
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      layouts/partials/social-share.html

+ 2
- 2
layouts/partials/social-share.html 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 }}

Loading…
Cancel
Save