From 3a643b07cc711e0b082022fdb1454ec440837626 Mon Sep 17 00:00:00 2001 From: Panos Sakkos Date: Sat, 3 Oct 2015 20:56:02 +0200 Subject: [PATCH] Emit disqus comments only in post pages. --- _includes/js.html | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/_includes/js.html b/_includes/js.html index 7966a33a6..f269490c1 100755 --- a/_includes/js.html +++ b/_includes/js.html @@ -22,17 +22,20 @@ {% endif %} - {% if site.disqus-shortname %} - + + + {% if page.section-type == "post" %} + + {% endif %} {% if page.section-type == "post" or page.section-type == "blog" or page.section-type == "index" or page.section-type == "tag" %}