gabrielgio.me @ efeff0b95653056677bdf6fecc3064bc813b555a

 1{{ $title := .Title }}
 2{{ $url := printf "%s" .Permalink | absLangURL }}
 3{{ $icon_size := "32px" }}
 4
 5{{ if not .Params.disable_share }}
 6  <div id="sharing" class="mt3">
 7
 8    {{ $facebook_href := printf "https://www.facebook.com/sharer.php?u=%s" $url }}
 9    <a href="{{ $facebook_href }}" class="facebook no-underline" aria-label="share on Facebook">
10      {{ partialCached "svg/facebook.svg" (dict "size" $icon_size) $icon_size }}
11    </a>
12
13    {{ $twitter_href := printf "https://twitter.com/share?url=%s&text=%s" $url $title }}
14    {{ with .Site.Social.twitter }}
15      {{ $twitter_href = printf "%s&via=%s" $twitter_href . }}
16    {{ end }}
17    <a href="{{ $twitter_href }}" class="twitter no-underline" aria-label="share on Twitter">
18      {{ partialCached "svg/twitter.svg" (dict "size" $icon_size) $icon_size }}
19    </a>
20
21    {{ $linkedin_href := printf "https://www.linkedin.com/shareArticle?mini=true&url=%s&title=%s" $url $title }}
22    <a href="{{ $linkedin_href }}" class="linkedin no-underline" aria-label="share on LinkedIn">
23      {{ partialCached "svg/linkedin.svg" (dict "size" $icon_size) $icon_size }}
24    </a>
25  </div>
26{{ end }}