From 713f16df90d1fa7a85fcab447d91ee8c39886073 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Wed, 26 Jun 2013 10:56:34 -0400 Subject: [PATCH] Include Disqus script only on pages that enable it --- _includes/scripts.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/scripts.html b/_includes/scripts.html index 0402cb2..2be9830 100644 --- a/_includes/scripts.html +++ b/_includes/scripts.html @@ -16,4 +16,4 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); -{% include disqus_comments.html %} \ No newline at end of file +{% if page.comments %}{% include disqus_comments.html %}{% endif %} \ No newline at end of file