diff options
author | m-r-r <skami@skami-laptop.dyndns.org> | 2012-06-22 07:57:12 +0000 |
---|---|---|
committer | m-r-r <skami@skami-laptop.dyndns.org> | 2012-06-22 07:57:12 +0000 |
commit | 98f0d46f2bbddf86e8d202b533af35fa79da2d2f (patch) | |
tree | 297d677cfa76bb20d4e80803343c69b99c939e37 /subtle/templates/disqus_script.html | |
parent | 2950b6abdad62fdd74682880acdec32f9b417420 (diff) | |
parent | 83892b7112e27721218556c4030cdd5c8d26f98b (diff) | |
download | pelican-themes-98f0d46f2bbddf86e8d202b533af35fa79da2d2f.tar.gz |
[dev-random] resolved conflicts
Diffstat (limited to 'subtle/templates/disqus_script.html')
-rwxr-xr-x | subtle/templates/disqus_script.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/subtle/templates/disqus_script.html b/subtle/templates/disqus_script.html new file mode 100755 index 0000000..c4f442c --- /dev/null +++ b/subtle/templates/disqus_script.html @@ -0,0 +1,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 %} |