From c380cad7da61e3ddaaad1e91ddb7845c7792090a 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 --- pelican/themes/notmyidea/templates/article.html | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/pelican/themes/notmyidea/templates/article.html b/pelican/themes/notmyidea/templates/article.html index 06110b43..8b7af1b6 100644 --- a/pelican/themes/notmyidea/templates/article.html +++ b/pelican/themes/notmyidea/templates/article.html @@ -31,7 +31,21 @@ {% endif %} - +

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

Like this post? Please share!

+
+

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

+
+ {% endif %} +

{% endblock %}