diff options
author | Alexis Metaireau <alexis@notmyidea.org> | 2012-11-20 15:26:54 -0800 |
---|---|---|
committer | Alexis Metaireau <alexis@notmyidea.org> | 2012-11-20 15:26:54 -0800 |
commit | f9fd2f5c414fab9a3230e69b9370918eddcf2e5b (patch) | |
tree | c452259418abcc1b367d00a3a3fa5eb3b8686077 /cebong/templates/disqus_script.html | |
parent | 662052faa4749d3fec2ff1149e853f71d5c2b434 (diff) | |
parent | e13a5cca9654737c9bf551a8947ef12df09a055f (diff) | |
download | pelican-themes-f9fd2f5c414fab9a3230e69b9370918eddcf2e5b.tar.gz |
Merge pull request #58 from kecebongsoft/cebong
New theme: cebong
Diffstat (limited to 'cebong/templates/disqus_script.html')
-rw-r--r-- | cebong/templates/disqus_script.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cebong/templates/disqus_script.html b/cebong/templates/disqus_script.html new file mode 100644 index 0000000..c4f442c --- /dev/null +++ b/cebong/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 %} |