diff options
author | Justin Mayer <entroP@gmail.com> | 2014-01-25 09:17:51 -0800 |
---|---|---|
committer | Justin Mayer <entroP@gmail.com> | 2014-01-25 09:17:51 -0800 |
commit | e05a5db62451233729123a1c50e75290042c5ae2 (patch) | |
tree | ab3f9169962918185e7faacfd549e58481375b5e /tuxlite_tbs | |
parent | 6b057e4f9bb931e2db52c49a84bbe457f9f3910e (diff) | |
parent | ee696bb382b47aa29272563468fbfc55b1463cec (diff) | |
download | pelican-themes-e05a5db62451233729123a1c50e75290042c5ae2.tar.gz |
Merge pull request #187 from chanux/master
No comments sction when Disqus is not setup in tuxlite_tbs
Diffstat (limited to '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 %} |