From 08b4285d8bb2f5c36eb3d03a86b978c9c99628cd Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Thu, 2 Jan 2014 11:14:13 -0500 Subject: [PATCH] Only load Disqus when enabled on specific posts --- _includes/scripts.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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