Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

really disable disqus #9

Merged
merged 1 commit into from

2 participants

Thomas Weißschuh Doug Latornell
Thomas Weißschuh

<div> of disqus is included even if disqus is disabled

Doug Latornell douglatornell merged commit 5e7dd6e into from
Doug Latornell
Collaborator

Thanks for the patch!

Matt Feifarek mfeif referenced this pull request in wxl/blogofobe_blog
Merged

Properly initialize tags on build, also small setup.py typo fix #1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 27, 2012
  1. Thomas Weißschuh

    really disable disqus

    t-8ch authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  blogofile_blog/site_src/_templates/blog/permapage.mako
2  blogofile_blog/site_src/_templates/blog/permapage.mako
View
@@ -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
Something went wrong with that request. Please try again.