gmgauthier.com/layouts/partials/share.html

33 lines
1.2 KiB
HTML
Raw Permalink Normal View History

2021-03-30 20:50:34 +00:00
<h4><i class="fas fa-share-alt" aria-hidden="true"></i>&nbsp;Share!</h4>
<ul class="share-buttons">
2021-11-25 18:49:54 +00:00
<li><a href="https://www.gab.com/compose?url={{ .Permalink }}%0A&text={{ .Title }}%0A%0A" target="_blank" title="Share on Gab"><i class="fa fa-frog fa-fw" aria-hidden="true"></i><span class="sr-only">Share on Gab</span></a>
</li>&nbsp;&nbsp;&nbsp;
2021-03-30 20:50:34 +00:00
<li><a href="https://www.facebook.com/sharer/sharer.php?u={{ .Permalink }}" target="_blank" title="Share on Facebook"><i class="fab fa-facebook" aria-hidden="true"></i><span class="sr-only">Share on Facebook</span></a>
</li>&nbsp;&nbsp;&nbsp;
<li><a href="https://twitter.com/intent/tweet?source={{ .Permalink }}" target="_blank" title="Tweet"><i class="fab fa-twitter" aria-hidden="true"></i><span class="sr-only">Tweet</span></a>
</li>&nbsp;&nbsp;&nbsp;
</ul>
<!-- Style for Icons, Inlined for less requests-->
<style>
ul.share-buttons{
list-style: none;
padding: 0;
}
ul.share-buttons li{
display: inline;
}
ul.share-buttons .sr-only{
position: absolute;
clip: rect(1px 1px 1px 1px);
clip: rect(1px, 1px, 1px, 1px);
padding: 0;
border: 0;
height: 1px;
width: 1px;
overflow: hidden;
}
</style>