mirror of
https://github.com/almet/notmyidea.git
synced 2025-04-28 11:32:39 +02:00
20 lines
677 B
HTML
20 lines
677 B
HTML
{% if DISQUS_SITENAME %}
|
|
<hr>
|
|
<div id="disqus_thread"></div>
|
|
<script>
|
|
var disqus_config = function() {
|
|
this.page.url = '{{ SITEURL }}/{{ output_file }}';
|
|
this.page.identifier = '{{ article.slug }}';
|
|
};
|
|
(function() {
|
|
var d = document;
|
|
var s = d.createElement('script');
|
|
s.src = '//{{ DISQUS_SITENAME }}.disqus.com/embed.js';
|
|
s.setAttribute('data-timestamp', +new Date());
|
|
(d.head || d.body).appendChild(s);
|
|
})();
|
|
</script>
|
|
<noscript class="text-muted">
|
|
Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a>
|
|
</noscript>
|
|
{% endif %}
|