From c086834f0ebfa39b8b6b0cfed010588a6907a91c Mon Sep 17 00:00:00 2001
From: Melroy van den Berg <melroy@melroy.org>
Date: Tue, 19 Sep 2023 15:47:32 +0000
Subject: [PATCH] Change to /intent/tweet (#652)
---
layouts/partials/social-share.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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 }}
--
Gitblit v1.10.0