mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
Support for comments through isso
This commit is contained in:
parent
3381c5031b
commit
94d33d8ef8
2 changed files with 8 additions and 0 deletions
|
|
@ -134,6 +134,7 @@ Misc settings:
|
|||
- **DISQUS_SITENAME**
|
||||
- **GAUGES**
|
||||
- **GOOGLE_ANALYTICS**
|
||||
- **ISSO_URL**
|
||||
- **PIWIK_URL**
|
||||
- **PIWIK_SITE_ID**
|
||||
|
||||
|
|
|
|||
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue