diff --git a/_includes/scripts.html b/_includes/scripts.html
index 5b9aeab..46ca997 100644
--- a/_includes/scripts.html
+++ b/_includes/scripts.html
@@ -18,4 +18,4 @@
})();
{% endif %}
-{% if site.disqus_shortname %}{% include disqus_comments.html %}{% endif %}
\ No newline at end of file
+{% if page.comments %}{% include disqus_comments.html %}{% endif %}
\ No newline at end of file