diff --git a/_includes/js.html b/_includes/js.html index 9b2afe0..7ab1280 100755 --- a/_includes/js.html +++ b/_includes/js.html @@ -51,24 +51,24 @@ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); - {% endif %} - -{% endif %} + + {% if page.section-type == "post" or page.section-type == "blog" or page.section-type == "index" or page.section-type == "tag" %} + -{% if page.section-type == "post" or page.section-type == "blog" or page.section-type == "index" or page.section-type == "tag" %} + + {% endif %} + + {% endif %} - /* * * DON'T EDIT BELOW THIS LINE * * */ - (function () { - var s = document.createElement('script'); s.async = true; - s.type = 'text/javascript'; - s.src = '//' + disqus_shortname + '.disqus.com/count.js'; - (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s); - }()); - {% endif %}