Permalink
Browse files

Merge pull request #9 from t-8ch/master

Fix disabling of Disqus comments on permalink page.
  • Loading branch information...
2 parents 75bac7e + 122d05c commit 5e7dd6eb92d518ceb8cde4b81e6552a491d226ba @douglatornell douglatornell committed May 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 blogofile_blog/site_src/_templates/blog/permapage.mako
@@ -1,10 +1,10 @@
<%inherit file="bf_base_template" />
<%include file="post.mako" args="post=post" />
+% if bf.config.blog.disqus.enabled:
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_url = "${post.permalink}";
</script>
-% if bf.config.blog.disqus.enabled:
<script type="text/javascript" src="http://disqus.com/forums/${bf.config.blog.disqus.name}/embed.js"></script>
<noscript><a href="http://${bf.config.blog.disqus.name}.disqus.com/?url=ref">View the discussion thread.</a></noscript><a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
% endif

0 comments on commit 5e7dd6e

Please sign in to comment.