From 59df695b6ed4020c242b850e14791f49be360438 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Thu, 18 Jul 2013 22:19:16 -0400 Subject: [PATCH] Small edit to Disqus include if statement --- _includes/scripts.html | 2 +- _layouts/post.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_includes/scripts.html b/_includes/scripts.html index 9e6a3b7..6b4a6a8 100644 --- a/_includes/scripts.html +++ b/_includes/scripts.html @@ -18,4 +18,4 @@ })(); {% endif %} -{% if site.disqus_shortname and page.comments != false %}{% include disqus_comments.html %}{% endif %} \ No newline at end of file +{% if site.disqus_shortname and page.comments %}{% include disqus_comments.html %}{% endif %} \ No newline at end of file diff --git a/_layouts/post.html b/_layouts/post.html index c072917..6bf4aca 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -25,12 +25,12 @@ {% if page.modified %}{% endif %} - {% if site.disqus_shortname and page.comments != false %} Comment{% endif %} + {% if site.disqus_shortname and page.comments %} Comment{% endif %} Permalink
{{ content }} - {% if site.disqus_shortname and page.comments != false %}
{% endif %} + {% if site.disqus_shortname and page.comments %}
{% endif %}