{# X3 Settings + JS #} {# Custom Javascript files from /content/custom/javascript #} {% set custom_js_files = x3_glob('./content/custom/files/javascript/*include*.js', '') %} {% if custom_js_files %}{{ custom_js_files }}{% endif %} {# Custom Javascript #} {% if page.back.custom.js|trim is not empty %} {% endif %} {# Javascript#} {% if page.settings.cdn_core %} {% if page.gallery.layout == 'slideshow' %}{% endif %} {% else %} {% if page.gallery.layout == 'slideshow' %}{% endif %} {% endif %} {# X3 JS App #}