1
0
Fork 0

now with comments

This commit is contained in:
Moritz »mo.« Sauer 2015-02-18 12:44:09 +01:00
parent f738190202
commit 62f660bdbf
8 changed files with 60 additions and 5 deletions

20
_includes/comments.html Normal file
View file

@ -0,0 +1,20 @@
{% if page.comments %}
<h3 class="t60">{{ site.data.language.comments_headline }}</h3>
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = '{{ disqus_shortname }}';
var disqus_identifier = '{{ page.permalink }}';
/* * * 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="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
{% endif %}