{{ $title := .Title }} {{ $url := printf "%s" .Permalink | absLangURL }} {{ $featured_image := printf "%s" .Params.featured_image | absLangURL }} {{ $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 }} {{ $x_href := printf "https://x.com/intent/tweet?url=%s&text=%s" $url $title }} {{ $pinterest_href := printf "https://pinterest.com/pin/create/button/?url=%s&media=%s&description=%s" $url $featured_image $title }} {{ with site.Social.twitter }} {{ $twitter_href = printf "%s&via=%s" $twitter_href . }} {{ 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 "pinterest" $pinterest_href "x" $x_href}} {{ $services := where (partialCached "func/socials/Get" "socials/Get") "share" true }} {{ if not ($.Param "disable_share") }}
{{ end }}