Skip to content

Instantly share code, notes, and snippets.

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