1
0
Fork 0
This repository has been archived on 2024-12-30. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
pelican-alchemy/alchemy/templates/include/comments.html
Raymond Wanyoike cb4f2e862f Remove google analytics support
One in many options that you can use to track page views, not on our
roadmap at the moment.

Update disqus support
2016-11-06 22:15:11 +03:00

18 lines
610 B
HTML

{% if DISQUS_SITENAME %}
<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, 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>
Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a>
</noscript>
{% endif %}