1
Fork 0

Add share links to bottom of some pages

This commit is contained in:
Jake Howard 2018-07-27 09:12:19 +01:00
parent 32952970dc
commit 5bf17f5fdc
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 13 additions and 0 deletions

View file

@ -6,6 +6,8 @@
<div id="main"> <div id="main">
<div class="container"> <div class="container">
{% include "common/content.html" %} {% include "common/content.html" %}
{% include "common/share-links.html" %}
</div> </div>
</div> </div>
{% endblock %} {% endblock %}

View file

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

View file

@ -6,6 +6,8 @@
<div id="main"> <div id="main">
<div class="container"> <div class="container">
{% include "common/content.html" %} {% include "common/content.html" %}
{% include "common/share-links.html" %}
</div> </div>
</div> </div>
{% endblock %} {% endblock %}