Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
A snippet of template code for 1999.io that adds Disqus comments to your story pages.
<div class="divDisqusComments">
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = "[%thispageurl%]";
};
(function () {
var d = document, s = d.createElement ('script');
s.src = '//smallpict.disqus.com/embed.js';
s.setAttribute ('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment