_includes/appscms/scripts/script.html in appscms-tools-theme-4.4.3 vs _includes/appscms/scripts/script.html in appscms-tools-theme-4.4.4
- old
+ new
@@ -16,16 +16,19 @@
{%-
endif
-%}
></script>
{%- endif -%}
+{%- if site.search -%}
{%- if page.layout == "appscms-home" or page.layout == "contenttool-home" -%}
<script
defer
src="/assets/js/appscms-search.js"
crossorigin="anonymous"
></script>
{%- endif -%}
+{%- endif -%}
+
<script
defer
src="/assets/js/appscms-theme.js"
crossorigin="anonymous"