Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

really disable disqus #9

merged 1 commit into from May 27, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −1
@@ -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}";
-% 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