flex/pelican/themes/Flex/templates/partial/isso.html

24 lines
577 B
HTML
Raw Normal View History

{% if ISSO_URL %}
2020-03-30 08:19:17 +02:00
<!-- Isso -->
<section id="isso-thread" data-title="{{ article.title|e }}"></section>
<script
type="text/javascript"
{% if ISSO_EMBED_JS_PATH %}
src="{{ ISSO_EMBED_JS_PATH }}"
{% else %}
src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/isso/isso.min.js"
{% endif %}
2020-03-30 08:19:17 +02:00
{% if ISSO_URL %}
data-isso="{{ ISSO_URL }}"
{% endif %}
{% for opt, val in ISSO_OPTIONS.items() %}
data-isso-{{ opt }}="{{ val }}"
{% endfor %}
></script>
<noscript>
{{ _('Please enable JavaScript to view comments.') }}
</noscript>
<!-- End Isso -->
{% endif %}