Permalink
Browse files

update disqus code

  • Loading branch information...
1 parent cb4397c commit e98c2282c3dbcef811029aabf9102e1a73e90b62 @falconindy committed Feb 5, 2012
Showing with 8 additions and 5 deletions.
  1. +8 −5 _layouts/article.html
View
13 _layouts/article.html
@@ -7,9 +7,12 @@
<div id="disqus_thread"></div>
<script type="text/javascript">
-//<![CDATA[
- var disqus_developer = location.host.match(/^192.168.2/) ? 1 : 0;
-//]]>
+ var disqus_shortname = 'lsetcmore'; // required: replace example with your forum shortname
+ (function() {
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
+ dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
+ })();
</script>
-<script type="text/javascript" src="http://disqus.com/forums/lsetcmore/embed.js"></script>
-<noscript><p><a href="http://lsetcmore.disqus.com/?url=ref">View the discussion thread.</a></p></noscript>
+<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
+<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>

0 comments on commit e98c228

Please sign in to comment.