From b01747cbe049c4f3a61c43d823f5503944ced925 Mon Sep 17 00:00:00 2001 From: Jack Jackson Date: Sat, 28 Dec 2024 14:50:54 -0800 Subject: [PATCH] Correction to partial-formatting --- blog/layouts/partials/social-share.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blog/layouts/partials/social-share.html b/blog/layouts/partials/social-share.html index 313d0ff..5d8b658 100644 --- a/blog/layouts/partials/social-share.html +++ b/blog/layouts/partials/social-share.html @@ -6,8 +6,8 @@ {{ $facebook_href := printf "https://www.facebook.com/sharer.php?u=%s" $url }} {{ $twitter_href := printf "https://twitter.com/intent/tweet?url=%s&text=%s" $url $title }} -{{ with site.params.twitter }} - {{ $twitter_href = printf "%s&via=%s" $twitter_href . }} +{{ with site.params }} + {{ $twitter_href = printf "%s&via=%s" $twitter_href .twitter }} {{ end }} {{ $linkedin_href := printf "https://www.linkedin.com/shareArticle?mini=true&url=%s&title=%s" $url $title }} {{ $hrefs := dict "facebook" $facebook_href "twitter" $twitter_href "linkedin" $linkedin_href }}