blob: 5aafa1713911efc4178c85ad3cf35f894b06684f (
plain) (
tree)
|
|
{% if DISQUS_SITENAME %}
<div class="comments">
<h2>Comments !</h2>
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = "{{ SITEURL }}/{{ article.url }}";
this.page.identifier = "{{ article.slug }}";
this.page.title = "{{ article.title }}";
};
(function () {
var d = document,
s = d.createElement('script');
s.src = 'https://{{ DISQUS_SITENAME }}.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>
</div>
{% endif %}
|