Skip to content

Commit

Permalink
Replace another 2 .URL occurrences with .Permalink (theNewDynamic#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 theNewDynamic#216

* Revert site-navigation URL change
  • Loading branch information
strk authored and Remicck committed Mar 7, 2022
1 parent 92b63cd commit a341242
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 a341242

Please sign in to comment.