mirror of
https://github.com/welpo/tabi.git
synced 2025-12-14 11:48:45 +01:00
🐛 fix(iine): only load script on pages, not sections (#596)
This commit is contained in:
parent
89ebf0193e
commit
2611814d04
1 changed files with 1 additions and 1 deletions
|
|
@ -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 -%}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue