refactor: comment comment above the comment section (:

This commit is contained in:
welpo 2024-11-07 23:41:46 +01:00
parent 1a832412f9
commit 2749def2fa
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6

View file

@ -323,12 +323,11 @@ Current section extra: {% if current_section %}{{ current_section.extra | json_e
{%- endif -%} {%- endif -%}
{%- endif -%} {%- endif -%}
{#- Comments -#}
{#- Ensure only one comment system is enabled -#} {#- Ensure only one comment system is enabled -#}
{% if enabled_systems > 1 %} {% if enabled_systems > 1 %}
{{ throw(message="ERROR: Multiple comment systems have been enabled for the same page. Check your config.toml and individual page settings to ensure only one comment system is activated at a time.") }} {{ throw(message="ERROR: Multiple comment systems have been enabled for the same page. Check your config.toml and individual page settings to ensure only one comment system is activated at a time.") }}
{% endif %} {% endif %}
{#- Comments -#}
{% if comment_system %} {% if comment_system %}
{% include "partials/comments.html" %} {% include "partials/comments.html" %}
{% endif %} {% endif %}