From e600f093c51b865b14337a78e4538b3a08fbd87b Mon Sep 17 00:00:00 2001 From: Alexis Tacnet Date: Fri, 5 May 2017 18:52:06 +0200 Subject: [PATCH] Refix twitter --- layouts/partials/footer_scripts.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/layouts/partials/footer_scripts.html b/layouts/partials/footer_scripts.html index 128e33c..b0b2db0 100644 --- a/layouts/partials/footer_scripts.html +++ b/layouts/partials/footer_scripts.html @@ -33,7 +33,12 @@ progressively.init({delay: 30, throttle: 50}); {{ end }} {{ if .Site.Params.share }} - SocialShareKit.init(); + SocialShareKit.init({ + twitter: { + text: '', + {{ if .Site.Params.twitter }}via: '{{ .Site.Params.twitter }}'{{ end }} + } + }); {{ end }} };