- Add Cusdis comment integration (zensical.toml + overrides partial) - Add comments:true to homepage frontmatter - Gitignore codedb.snapshot and old root build artifacts - Remove tracked old build files (site/ is the new build output)
13 lines
No EOL
513 B
HTML
13 lines
No EOL
513 B
HTML
{% if page.meta.comments %}
|
|
<h2 id="__comments">{{ lang.t("meta.comments") }}</h2>
|
|
<div id="cusdis_thread"
|
|
data-host="{{ config.extra.cusdis.host }}"
|
|
data-app-id="{{ config.extra.cusdis.app_id }}"
|
|
data-page-id="{{ page.canonical_url }}"
|
|
data-page-url="{{ page.canonical_url }}"
|
|
data-page-title="{{ page.title }}"
|
|
data-theme="auto">
|
|
</div>
|
|
<script async defer src="{{ config.extra.cusdis.host }}/js/cusdis.es.js"></script>
|
|
<noscript>Please enable JavaScript to view the comments.</noscript>
|
|
{% endif %} |