From eda1a986cba76d57ebcbc6a0dca2463d780f118f Mon Sep 17 00:00:00 2001 From: SkyArrow Date: Wed, 25 Jan 2012 01:08:43 +0800 Subject: hide comment section if comment is disabled --- source/_includes/article.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/_includes') diff --git a/source/_includes/article.html b/source/_includes/article.html index d9c5139..347a52d 100644 --- a/source/_includes/article.html +++ b/source/_includes/article.html @@ -8,7 +8,9 @@
{% include post/date.html %}{{ time }}
{% include post/categories.html %}
+ {% if site.disqus_short_name and post.comments == true %} + {% endif %}
{% else %}

{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}

@@ -16,6 +18,8 @@
{% include post/date.html %}{{ time }}
{% include post/categories.html %}
+ {% if site.disqus_short_name and page.comments == true %} + {% endif %}
{% endif %} \ No newline at end of file -- cgit v1.2.3