From a910d9d280fd9f64ccf1e8ac6a1c56bedd439f6c Mon Sep 17 00:00:00 2001 From: welpo Date: Fri, 12 Dec 2025 22:38:59 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(iine):=20only=20load=20scrip?= =?UTF-8?q?t=20on=20pages,=20not=20sections?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/partials/extra_features.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/partials/extra_features.html b/templates/partials/extra_features.html index 50c33373..37c0da92 100644 --- a/templates/partials/extra_features.html +++ b/templates/partials/extra_features.html @@ -83,6 +83,6 @@ {%- endif -%} {# Add iine.js for the like button #} -{%- if macros_settings::evaluate_setting_priority(setting="iine", page=page_s, section=section_s, default_global_value=false) == "true" -%} +{%- if page and macros_settings::evaluate_setting_priority(setting="iine", page=page_s, section=section_s, default_global_value=false) == "true" -%} {%- endif -%}