aboutsummaryrefslogtreecommitdiffstats
path: root/subtle/templates/disqus_script.html
blob: c4f442c8b0a6eadccdefe55a5a4a6f6af61999ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{% if DISQUS_SITENAME %}
<script type="text/javascript">
    var disqus_shortname = '{{ DISQUS_SITENAME }}';
    (function () {
        var s = document.createElement('script'); s.async = true;
        s.type = 'text/javascript';
        s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
        (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
    }());
</script>
{% endif %}