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 @@ Comment{% endif %} + {% if site.disqus_shortname and page.comments %} Comment{% endif %} Permalink
{% if page.modified %}{% endif %} - {% if site.disqus_shortname and page.comments != false %}