aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2014-01-25 09:17:51 -0800
committerJustin Mayer <entroP@gmail.com>2014-01-25 09:17:51 -0800
commite05a5db62451233729123a1c50e75290042c5ae2 (patch)
treeab3f9169962918185e7faacfd549e58481375b5e
parent6b057e4f9bb931e2db52c49a84bbe457f9f3910e (diff)
parentee696bb382b47aa29272563468fbfc55b1463cec (diff)
downloadpelican-themes-e05a5db62451233729123a1c50e75290042c5ae2.tar.gz
Merge pull request #187 from chanux/master
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 %}