Moved section script of "Comments counter" Discus

Inset into if site.disqus-shortname
This commit is contained in:
Jorge Arias 2015-09-17 14:17:18 -03:00
parent ece69659bc
commit 347e33d7d9

View file

@ -51,12 +51,8 @@
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
{% 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" %}
<!-- Comments counter -->
<script type="text/javascript">
@ -71,4 +67,8 @@
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
{% endif %}
{% endif %}
{% endif %}