Mercurial > hg > Blog
view themes/tuxlite_tbs/templates/disqus.html @ 9:6e2bcaecf3ec
include the theme locally to avoid any dependency on the pelican-themes git repo. Those guys don't incorporate the fixes as quickly as I need plus, I already changed the theme to incorporate the juvia comments.
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Mon, 01 Jul 2013 04:09:23 +0200 |
parents | |
children |
line wrap: on
line source
{% if DISQUS_SITENAME %} <div id="disqus_thread"></div> <script type="text/javascript"> var disqus_shortname = '{{ DISQUS_SITENAME }}'; var disqus_title = '{{ article.title }}'; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); </script> <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> {% endif %}