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 -%}