Skip to content

Commit

Permalink
Replace another 2 .URL occurrences with .Permalink (#275)
Browse files Browse the repository at this point in the history
* Replace another 2 .URL occurrences with .Permalink

This is basically a completion of #216

* Revert site-navigation URL change
  • Loading branch information
strk authored May 12, 2020
1 parent 6500b99 commit 2d6a91d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/social-share.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ $title := .Title }}
{{ $url := printf "%s" .URL | absLangURL }}
{{ $url := printf "%s" .Permalink | absLangURL }}
{{ $icon_size := "32px" }}

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

0 comments on commit 2d6a91d

Please sign in to comment.