1
Fork 0

Add share links under content

This commit is contained in:
Jake Howard 2017-12-31 18:49:52 +00:00
parent d91c780cc6
commit 30b883af86
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -3,5 +3,13 @@
<div class="container">
{{ partial "content.html" . }}
</div>
<div class="container mt-3 text-center">
<small>Share this post</small>
<h3>
<a href="https://twitter.com/intent/tweet?text={{ .Permalink }}"><i class="mx-1 fa fa-twitter" aria-hidden="true"></i></a>
<a href="https://www.facebook.com/sharer/sharer.php?u={{ .Permalink }}"><i class="mx-1 fa fa-facebook" aria-hidden="true"></i></a>
<a href="http://www.reddit.com/submit?url={{ .Permalink }}"><i class="mx-1 fa fa-reddit" aria-hidden="true"></i></a>
</h3>
</div>
</div>
{{ end }}