From 2749def2fa1cdc29ba87212c72ce0e5340bb7526 Mon Sep 17 00:00:00 2001 From: welpo Date: Thu, 7 Nov 2024 23:41:46 +0100 Subject: [PATCH] refactor: comment comment above the comment section (: --- templates/page.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/page.html b/templates/page.html index decf068..c269531 100644 --- a/templates/page.html +++ b/templates/page.html @@ -323,12 +323,11 @@ Current section extra: {% if current_section %}{{ current_section.extra | json_e {%- endif -%} {%- endif -%} + {#- Comments -#} {#- Ensure only one comment system is enabled -#} {% 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.") }} {% endif %} - - {#- Comments -#} {% if comment_system %} {% include "partials/comments.html" %} {% endif %}