From 2d6a91d48a283ef1fea71c149ee3c570627d2ae3 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 12 May 2020 14:36:33 +0200 Subject: [PATCH] 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 --- layouts/partials/social-share.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/social-share.html b/layouts/partials/social-share.html index 0b72915..eb313c0 100644 --- a/layouts/partials/social-share.html +++ b/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 }} -{{ end }} \ No newline at end of file +{{ end }}