1
Fork 0
theorangeone.net-legacy/layouts/partials/share.html
Jake Howard 7dd9793f03
Add related content to pages
Couldn't get it showing pages in the past, because Hugos docs on what the default are appear to be incorrect
2020-07-24 22:44:08 +01:00

11 lines
697 B
HTML

{{ if .Section }}
<div class="container mt-4 text-center">
<small>Share this page</small>
<h3>
<a href="https://twitter.com/intent/tweet?text={{ .Permalink }}"><i class="mx-1 fab fa-twitter" aria-hidden="true"></i></a>
<a href="https://www.facebook.com/sharer/sharer.php?u={{ .Permalink }}"><i class="mx-1 fab fa-facebook" aria-hidden="true"></i></a>
<a href="http://www.reddit.com/submit?url={{ .Permalink }}"><i class="mx-1 fab fa-reddit" aria-hidden="true"></i></a>
<a href="{{ .Permalink }}" data-clipboard-text="{{ .Permalink }}" title="Copy link to clipboard"><i class="mx-1 fas fa-copy" aria-hidden="true"></i></a>
</h3>
</div>
{{ end }}