summaryrefslogtreecommitdiff
path: root/_layouts/post.html
diff options
context:
space:
mode:
Diffstat (limited to '_layouts/post.html')
-rw-r--r--_layouts/post.html16
1 files changed, 10 insertions, 6 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
index ea8eb30..cd1eeaf 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -13,6 +13,16 @@ layout: master
</div>
</article>
+<div class="print-hide center">
+ <p class="sans">Share on:</p>
+ <p>
+ <a target="_blank" href="https://news.ycombinator.com/submitlink?u=http%3A%2F%2Fwww.benburwell.com{{ page.url | cgi_escape }}&amp;t={{ page.title }}"><i class="fa fa-2x fa-hacker-news"></i></a>
+ <a target="_blank" href="https://twitter.com/intent/tweet?text={{ page.title }}&amp;url=http%3A%2F%2Fwww.benburwell.com{{ page.url | cgi_escape }}"><i class="fa fa-2x fa-twitter-square"></i></a>
+ <a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.benburwell.com{{ page.url | cgi_escape }}"><i class="fa fa-2x fa-facebook-square"></i></a>
+ <a target="_blank" href="https://plus.google.com/share?url=http%3A%2F%2Fwww.benburwell.com{{ page.url | cgi_escape }}&amp;t={{ page.title }}"><i class="fa fa-2x fa-google-plus-square"></i></a>
+ </p>
+</div>
+
<div class="print-hide">
<div class="split">
{% if page.previous %}
@@ -27,10 +37,4 @@ layout: master
</div>
{% endif %}
</div>
-
- <div class="center">
- {% for post in site.related_posts limit:3 %}
- <p class="sans"><a href="{{ post.url }}">{{ post.title }}</a></p>
- {% endfor %}
- </div>
</div>