annotate themes/tuxlite_tbs/templates/disqus.html @ 42:51d2ddc51e40

update the theme with the latest changes from upstream
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 30 Sep 2014 03:53:59 +0200
parents 6e2bcaecf3ec
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
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.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1 {% if DISQUS_SITENAME %}
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.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 <div id="disqus_thread"></div>
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.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3 <script type="text/javascript">
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.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4 var disqus_shortname = '{{ DISQUS_SITENAME }}';
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.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5 var disqus_title = '{{ article.title }}';
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.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6
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.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7 (function() {
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.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8 var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
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.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9 dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
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.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10 (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
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.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11 })();
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.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12 </script>
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.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
13 <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
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.
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14 {% endif %}