Commits

shl...@cec68495-dca5-4e2b-845c-11fdaaa4f967  committed 2b1d4f9

Add Disqus comment to all pages.

  • Participants
  • Parent commits f4e9925

Comments (0)

Files changed (2)

File lib/rest-of-template.wml

 </script>
 </define-tag>
 
+<define-tag disqus_thread>
+<div id="disqus_thread"></div><script type="text/javascript" src="http://disqus.com/forums/shlomifish/embed.js"></script><noscript><a href="http://shlomifish.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>
+<br />
+<br />
+</define-tag>
 
 <latemp_before_main_title>
 
 </latemp_before_main_title>
 
 <latemp_after_body>
+<disqus_thread />
 <share_this_button /><br />
 # <google_adsense_code_after_text />
 ;;; For the div class=hebrew.
 <if "<get-var rtl_layout />" "</div>" />
 {#HEBREW_XML_LANG_SCRIPT#}
-<if "<get-var enable_disqus />" "<disqus_javascript />" />
+<if "<latemp_mynot "<get-var disable_disqus />" />"
+    "<disqus_javascript />" />
 </latemp_after_body>
 
 

File t2/humour/bits/How-many-Wikipedia-Editors/index.html.wml

-<set-var enable_disqus=1 />
 #include '../template.wml'
 
 <latemp_subject "How many Wikipeders does it take to Change a Light Bulb?" />
 <a href="$(ROOT)/humour.html#wikipedia_has">"Wikipedia has…"</a> and <a href="$(ROOT)/humour.html#chuck-norris-and-the-wikipedia">"Chuck Norris and the Wikipedia"</a> aphorisms in my aphorisms collection.
 </li>
 </ul>
-
-<define-tag disqus_thread>
-<div id="disqus_thread"></div><script type="text/javascript" src="http://disqus.com/forums/shlomifish/embed.js"></script><noscript><a href="http://shlomifish.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>
-<br />
-<br />
-</define-tag>
-
-<disqus_thread />
-