aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bootstrap/templates/article.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/bootstrap/templates/article.html b/bootstrap/templates/article.html
index 553c942..dc904ef 100644
--- a/bootstrap/templates/article.html
+++ b/bootstrap/templates/article.html
@@ -5,11 +5,13 @@
<div class="page-header"><h1>{{ article.title }}</h1></div>
<div class="well small">{% include "metadata.html" %}</div>
<div>{{ article.content }}</div>
+ {% if DISQUS_SITENAME or FACEBOOK_APPID or TWITTER_USERNAME %}
<div>
<h2>Comments</h2>
{% include "twitter.html" %}
{% if DISQUS_SITENAME %}<div id="disqus_thread"></div>{% endif %}
{% if FACEBOOK_APPID %}<div class="fb-comments" data-href="{{ FQ_SITEURL }}/{{ article.url }}" data-num-posts="10" data-width="760"></div>{% endif %}
<div>
- </div>
+ {% endif %}
+ </div>
{% endblock %}