Skip to content

Instantly share code, notes, and snippets.

@alloy-d
Created July 26, 2011 20:38
Show Gist options
  • Save alloy-d/1107948 to your computer and use it in GitHub Desktop.
Save alloy-d/1107948 to your computer and use it in GitHub Desktop.
Disqus code, with line breaks and indents inserted so as to make it readable.
<script type="text/javascript">
var disqus_url = "{Permalink}";
var disqus_title ="{block:PostTitle}{PostTitle}{/block:PostTitle}";
</script>
{block:Permalink}
<div id="disqus_thread"></div>
<script type="text/javascript">
(function() {
var dsq = document.createElement('script');
dsq.type = 'text/javascript';
dsq.async = true;
dsq.src = 'http://lloyda2.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>
Please enable JavaScript to view the
<a href="http://disqus.com/?ref_noscript=lloyda2">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>
{/block:Permalink}
<script type="text/javascript">
var disqus_shortname = 'lloyda2';
(function () {
var s = document.createElement('script');
s.async = true;
s.src = 'http://lloyda2.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment