Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

really disable disqus #9

Merged
merged 1 commit into from

2 participants

@t-8ch

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

@douglatornell douglatornell merged commit 5e7dd6e into EnigmaCurry:master
@douglatornell
Collaborator

Thanks for the patch!

@mfeif 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. @t-8ch

    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
View
2  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
Something went wrong with that request. Please try again.