mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Sandro Santilli
12.36.2020 2d6a91d48a283ef1fea71c149ee3c570627d2ae3
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
1 files modified
4 ■■■■ changed files
layouts/partials/social-share.html 4 ●●●● patch | view | raw | blame | history
layouts/partials/social-share.html
@@ -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 }}