Change to /intent/tweet (#652)

Change from /share to /intent/tweet.
This commit is contained in:
Melroy van den Berg 2023-09-19 17:47:32 +02:00 committed by Olivier ROMAN
parent de47f656c7
commit a5f5dad59c

View file

@ -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 }}