stephan.hadan.de/overrides/partials/comments.html
Stephan Hadan b5ee87e8c8
All checks were successful
ci / deploy (push) Successful in 34s
added new comment system
2025-01-08 19:40:17 +01:00

19 lines
634 B
HTML

{% set isso = config.extra.isso %}
{% if page and page.meta and page.meta.isso is string %}
{% set isso = page.meta.isso %}
{% endif %}
{% if not page.is_homepage %}
{# Comment system (Isso) #}
<div id="__comments">
<script
data-isso="{{ config.extra.isso.custom_url }}/"
data-isso-require-author="true"
data-isso-require-email="true"
data-isso-reply-to-self="false"
data-isso-vote="true"
src="{{ config.extra.isso.custom_url }}/js/embed.min.js">
</script>
<hr><section id="isso-thread"><h2>Comments</h2></section>
<noscript>Please enable JavaScript to view the comments.</noscript>
</div>
{% endif %}