Add share links to bottom of some pages
This commit is contained in:
parent
32952970dc
commit
5bf17f5fdc
3 changed files with 13 additions and 0 deletions
|
@ -6,6 +6,8 @@
|
|||
<div id="main">
|
||||
<div class="container">
|
||||
{% include "common/content.html" %}
|
||||
|
||||
{% include "common/share-links.html" %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
9
templates/common/share-links.html
Normal file
9
templates/common/share-links.html
Normal 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>
|
|
@ -6,6 +6,8 @@
|
|||
<div id="main">
|
||||
<div class="container">
|
||||
{% include "common/content.html" %}
|
||||
|
||||
{% include "common/share-links.html" %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
Reference in a new issue