🐛 fix(iine): only load script on pages, not sections
This commit is contained in:
1 parent
20c59081b2
commit
86d3dedb85
1 file changed
+1
-1
@@ -83,6 +83,6 @@
|
|||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
{# Add iine.js for the like button #}
|
{# 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" -%}
|
||||||
<script defer src="https://cdn.jsdelivr.net/gh/welpo/iine@main/iine.mini.js"></script>
|
<script defer src="https://cdn.jsdelivr.net/gh/welpo/iine@main/iine.mini.js"></script>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
Reference in new issue
Block a user