add Disqus

This commit is contained in:
Aminda Suomalainen 2015-02-14 11:51:09 +02:00
parent 961e9d963d
commit 1b3cafa599
3 changed files with 18 additions and 0 deletions

View File

@ -29,4 +29,20 @@ layout: default
<p id="post-meta">{{ tags_content }}</p> <p id="post-meta">{{ tags_content }}</p>
</article> </article>
% if page.comments %
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'mikaeladotinfo'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
% endif %
</div> </div>

View File

@ -1,5 +1,6 @@
--- ---
layout: post layout: post
comments: true
title: "Channels & Hostmask groups: A basic Howto" title: "Channels & Hostmask groups: A basic Howto"
category: [english] category: [english]
tags: [irc, english] tags: [irc, english]

View File

@ -1,5 +1,6 @@
--- ---
layout: post layout: post
comments: true
title: "Getting help from network operators with channel issues when ops are away" title: "Getting help from network operators with channel issues when ops are away"
category: [english] category: [english]
tags: [irc, english] tags: [irc, english]