From d35b38d790afff50fa7b1c98017676be3bbb2c0c Mon Sep 17 00:00:00 2001 From: "Mr. Senko" Date: Sun, 17 Jan 2016 17:07:27 +0200 Subject: [PATCH] Add AddThis sharing buttons --- templates/article.html | 1 + templates/sharing.html | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 templates/sharing.html diff --git a/templates/article.html b/templates/article.html index ac04a2b..729df1a 100755 --- a/templates/article.html +++ b/templates/article.html @@ -73,6 +73,7 @@ {% endif %} + {% include 'sharing.html' %}
{% if DISQUS_SITENAME and SITEURL and article.status != "draft" %} diff --git a/templates/sharing.html b/templates/sharing.html new file mode 100644 index 0000000..49f9f8a --- /dev/null +++ b/templates/sharing.html @@ -0,0 +1,23 @@ +{% if article.status != "draft" %} +
+
+ {% if ADDTHIS_PUBID %} + +
+ + + + + + + + + + + +
+ + + {% endif %} +
+{% endif %}