diff options
author | chanux <chanuka@thinkcube.com> | 2014-01-25 08:50:26 +0530 |
---|---|---|
committer | chanux <chanuka@thinkcube.com> | 2014-01-25 08:50:26 +0530 |
commit | ee696bb382b47aa29272563468fbfc55b1463cec (patch) | |
tree | ab3f9169962918185e7faacfd549e58481375b5e | |
parent | 6b057e4f9bb931e2db52c49a84bbe457f9f3910e (diff) | |
download | pelican-themes-ee696bb382b47aa29272563468fbfc55b1463cec.tar.gz |
No comments sction when Disqus is not setup in tuxlite_tbs
-rw-r--r-- | tuxlite_tbs/templates/article.html | 8 |
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 %} |