From 55fc0555be35e16801a5ece61de9f373a43ad468 Mon Sep 17 00:00:00 2001 From: Amit Saha Date: Tue, 17 Nov 2015 21:04:00 +1100 Subject: [PATCH] notmyidea: support for share_post plugin --- .../themes/notmyidea/templates/article.html | 32 ++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/pelican/themes/notmyidea/templates/article.html b/pelican/themes/notmyidea/templates/article.html index 06110b43..ca3be77c 100644 --- a/pelican/themes/notmyidea/templates/article.html +++ b/pelican/themes/notmyidea/templates/article.html @@ -31,7 +31,37 @@ {% endif %} - +

+

Like this post? Please share!

+ {% if article.share_post and article.status != 'draft' %} +
+

+ Share on: + Diaspora* + ❄ + Twitter + ❄ + Facebook + ❄ + Google+ + ❄ + Email +

+
+ {% endif %} +

{% endblock %}