aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchanux <chanuka@thinkcube.com>2014-01-25 08:50:26 +0530
committerchanux <chanuka@thinkcube.com>2014-01-25 08:50:26 +0530
commitee696bb382b47aa29272563468fbfc55b1463cec (patch)
treeab3f9169962918185e7faacfd549e58481375b5e
parent6b057e4f9bb931e2db52c49a84bbe457f9f3910e (diff)
downloadpelican-themes-ee696bb382b47aa29272563468fbfc55b1463cec.tar.gz
No comments sction when Disqus is not setup in tuxlite_tbs
-rw-r--r--tuxlite_tbs/templates/article.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/tuxlite_tbs/templates/article.html b/tuxlite_tbs/templates/article.html
index 766de73..b5f3a63 100644
--- a/tuxlite_tbs/templates/article.html
+++ b/tuxlite_tbs/templates/article.html
@@ -9,9 +9,11 @@
<div>{{ article.content }}</div>
<hr>
-
- <h2>Comments</h2>
+
{% include "twitter.html" %}
- {% include 'disqus.html' %}
+ {% if DISQUS_SITENAME %}
+ <h2>Comments</h2>
+ {% include "disqus.html" %}
+ {% endif %}
</div>
{% endblock %}