From c086834f0ebfa39b8b6b0cfed010588a6907a91c Mon Sep 17 00:00:00 2001 From: Melroy van den Berg Date: Tue, 19 Sep 2023 17:47:32 +0200 Subject: [PATCH] Change to /intent/tweet (#652) Change from /share to /intent/tweet. --- layouts/partials/social-share.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/social-share.html b/layouts/partials/social-share.html index a0cef16..14ae033 100644 --- a/layouts/partials/social-share.html +++ b/layouts/partials/social-share.html @@ -2,7 +2,7 @@ {{ $url := printf "%s" .Permalink | absLangURL }} {{ $facebook_href := printf "https://www.facebook.com/sharer.php?u=%s" $url }} -{{ $twitter_href := printf "https://twitter.com/share?url=%s&text=%s" $url $title }} +{{ $twitter_href := printf "https://twitter.com/intent/tweet?url=%s&text=%s" $url $title }} {{ with site.Social.twitter }} {{ $twitter_href = printf "%s&via=%s" $twitter_href . }} {{ end }}