comparison 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
comparison
equal deleted inserted replaced
8:587302b65fb6 9:6e2bcaecf3ec
1 {% if DISQUS_SITENAME %}
2 <div id="disqus_thread"></div>
3 <script type="text/javascript">
4 var disqus_shortname = '{{ DISQUS_SITENAME }}';
5 var disqus_title = '{{ article.title }}';
6
7 (function() {
8 var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
9 dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
10 (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
11 })();
12 </script>
13 <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
14 {% endif %}