commit aaca2940d4211c04c1513b11a76a34bfb0c82cc9
parent e63c3d7b1ee19de07550d8de42388088d76b2145
Author: Dan Callaghan <djc@djc.id.au>
Date: Wed, 25 Aug 2010 20:32:13 +1000
use disqus
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/templates/blog/entry.html b/templates/blog/entry.html
@@ -25,6 +25,16 @@ from viewutils import tag_list
${item.body}
</div>
+ <div id="disqus_thread"></div>
+ <script type="text/javascript">
+ (function() {
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
+ dsq.src = 'http://djc.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=djc">comments powered by Disqus.</a></noscript>
+
</div>
</body>
</html>