Mercurial > hg > Blog
annotate themes/tuxlite_tbs/templates/disqus.html @ 34:822bec7ea32d
add a folder for content that's not ready to be published yet
| author | Dirk Olmes <dirk@xanthippe.ping.de> | 
|---|---|
| date | Fri, 29 Aug 2014 06:14:28 +0200 | 
| parents | 6e2bcaecf3ec | 
| children | 
| 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 %} | 
