From 2d6a91d48a283ef1fea71c149ee3c570627d2ae3 Mon Sep 17 00:00:00 2001
From: Sandro Santilli <strk@kbt.io>
Date: Tue, 12 May 2020 12:36:33 +0000
Subject: [PATCH] Replace another 2 .URL occurrences with .Permalink (#275)

---
 layouts/partials/social-share.html |    4 ++--
 1 files 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 }}
     </a>
   </div>
-{{ end }}
\ No newline at end of file
+{{ end }}

--
Gitblit v1.10.0