1
Fork 0

Add titles to share links

This commit is contained in:
Jake Howard 2021-12-27 10:54:38 +00:00
parent 8644beba1a
commit be2ae9a716
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -2,18 +2,18 @@
<div class="container mt-5 text-center"> <div class="container mt-5 text-center">
<small>Share this page</small> <small>Share this page</small>
<div class="shareon" data-title="{{ .Title }}" data-url="{{ .Permalink }}"> <div class="shareon" data-title="{{ .Title }}" data-url="{{ .Permalink }}">
<a class="facebook"></a> <a class="facebook" title="Share on Facebook"></a>
<a class="linkedin"></a> <a class="linkedin" title="Share on LinkedIn"></a>
<a class="mastodon"></a> <a class="mastodon" title="Share on Mastodon"></a>
<a class="odnoklassniki"></a> <a class="odnoklassniki" title="Share on Odnoklassniki"></a>
<a class="pinterest"></a> <a class="pinterest" title="Share on Pintrest"></a>
<a class="pocket"></a> <a class="pocket" title="Share on Pocket"></a>
<button class="reddit"></button> <button class="reddit" title="Share on Reddit"></button>
<button class="telegram"></button> <button class="telegram" title="Share on Telegram"></button>
<button class="twitter" data-via="{{ .Site.Data.social.accounts.twitter.username }}"></button> <button class="twitter" title="Twitter" data-via="{{ .Site.Data.social.accounts.twitter.username }}"></button>
<button class="viber"></button> <button class="viber" title="Share on Viber"></button>
<button class="vkontakte"></button> <button class="vkontakte" title="Share on Vkontakte"></button>
<button class="whatsapp"></button> <button class="whatsapp" title="Share on WhatsApp"></button>
</div> </div>
</div> </div>
{{ end }} {{ end }}