Support for comments through isso

This commit is contained in:
Michiel Scholten 2019-11-23 10:41:38 +01:00
commit 94d33d8ef8
2 changed files with 8 additions and 0 deletions

View file

@ -134,6 +134,7 @@ Misc settings:
- **DISQUS_SITENAME**
- **GAUGES**
- **GOOGLE_ANALYTICS**
- **ISSO_URL**
- **PIWIK_URL**
- **PIWIK_SITE_ID**

View file

@ -18,3 +18,10 @@
Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a>
</noscript>
{% endif %}
{% if ISSO_URL and SITEURL and article.status != "draft" %}
<div id="isso_thread">
<script data-isso="{{ ISSO_URL }}/"
src="{{ ISSO_URL }}/js/embed.min.js"></script>
<section id="isso-thread"></section>
</div>
{% endif %}