Skip to content

Commit

Permalink
Update Disqus installation code.
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvdrum committed Aug 9, 2020
1 parent 92bf9a8 commit 1fdb221
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,27 @@ <h2 class="subheading">{{ page.subtitle }}</h2>
<hr>

<div id="disqus_thread"></div>
<script type="text/javascript" src="http://disqus.com/forums/nirvdrum/embed.js"></script><noscript><a
href="http://nirvdrum.disqus.com/?url=ref">View the discussion thread.</a></noscript><a
href="http://disqus.com" class="dsq-brlink">blog comments powered by <span
class="logo-disqus">Disqus</span></a>
<script>

/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
/*
var disqus_config = function () {
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
*/
(function () { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://nirvdrum.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments
powered by Disqus.</a></noscript>

<script defer src="https://nirvdrum-commento.herokuapp.com/js/commento.js"></script>
<div id="commento"></div>

Expand Down

0 comments on commit 1fdb221

Please sign in to comment.