aboutsummaryrefslogtreecommitdiffstats
path: root/photowall/templates/disqus_script.html
blob: 4ee419bb93b1240a95e7c92bdc1643cb6d521d47 (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 = '//' + disqus_shortname + '.disqus.com/count.js';
        (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
    }());
</script>
{% endif %}