Skip to content
This repository

really disable disqus #9

Merged
merged 1 commit into from almost 2 years ago

2 participants

Thomas Weißschuh Doug Latornell
Thomas Weißschuh
t-8ch commented May 27, 2012

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

Doug Latornell douglatornell merged commit 5e7dd6e into from May 27, 2012
Doug Latornell douglatornell closed this May 27, 2012
Doug Latornell
Collaborator

Thanks for the patch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

May 27, 2012
Thomas Weißschuh really disable disqus 122d05c
This page is out of date. Refresh to see the latest.
2  blogofile_blog/site_src/_templates/blog/permapage.mako
... ...
@@ -1,10 +1,10 @@
1 1
 <%inherit file="bf_base_template" />
2 2
 <%include file="post.mako" args="post=post" />
  3
+% if bf.config.blog.disqus.enabled:
3 4
 <div id="disqus_thread"></div>
4 5
 <script type="text/javascript">
5 6
   var disqus_url = "${post.permalink}";
6 7
 </script>
7  
-% if bf.config.blog.disqus.enabled:
8 8
 <script type="text/javascript" src="http://disqus.com/forums/${bf.config.blog.disqus.name}/embed.js"></script>
9 9
 <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>
10 10
 % endif
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.