Disqus js

master
Nick Sergeant 2012-01-17 00:11:00 -05:00
parent 7cb09a4fe5
commit 44b3d19cf5
1 changed files with 13 additions and 0 deletions

View File

@ -25,4 +25,17 @@
{% paginate %}
{% endwith %}
</section>
<script type="text/javascript">
var disqus_shortname = 'snipt-net';
{% if debug %}
var disqus_developer = 1;
{% endif %}
(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>
{% endblock %}