Skip to content

Instantly share code, notes, and snippets.

@erjjones
Created March 13, 2012 01:45
Show Gist options
  • Save erjjones/2026102 to your computer and use it in GitHub Desktop.
Save erjjones/2026102 to your computer and use it in GitHub Desktop.
ResolvedDisqusCommentsCounter
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'ericjones'; // required: replace example with your forum shortname
var disqus_identifier = '{{ page.url }}';
var disqus_url = 'http://erjjones.github.com{{ page.url }}';
/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
<a href="http://erjjones.github.com{{ page.url }}#disqus_thread" data-disqus-identifier="{{ page.url }}">Comments</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment