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/_layouts/post.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/_layouts/post.html') diff --git a/source/_layouts/post.html b/source/_layouts/post.html index 096b74d..27f7125 100644 --- a/source/_layouts/post.html +++ b/source/_layouts/post.html @@ -5,7 +5,9 @@ single: true
{% include article.html %}
{% include post/sharing.html %} +{% if site.disqus_short_name and page.comments == true %}

留言

{% include post/disqus_thread.html %}
-
\ No newline at end of file + +{% endif %} \ No newline at end of file -- cgit v1.2.3