{# @copyright Copyright (C) 2010-2021 Combodo SARL #} {# @license http://opensource.org/licenses/AGPL-3.0 #} {# This block can be used to add your own meta tags by extending the default template #} {% block iboPageExtraMetas %} {% endblock %} {% if aPage.aMetadata.sBaseUrl is defined or aPage.aMetadata.sBaseTarget is defined %} {% endif %} {{ aPage.sTitle }} {% if aPage.sFaviconUrl is defined %} {% endif %} {# Stylesheets MUST be loaded before any scripts otherwise we may face problems such as - Visual glitches - jQuery scripts spurious problems (like failing on a 'reload') #} {% block iboPageCssFiles %} {% for aCssFileData in aPage.aCssFiles %} {% if aCssFileData['condition'] != '' %}{% endif %} {% endfor %} {% endblock %} {% block iboPageCssInline %} {# We put each styles in a dedicated style tag to prevent massive failure if 1 style is broken (eg. missing semi-colon, bracket, ...) #} {% for sCssInline in aPage.aCssInline %} {% endfor %} {% endblock %} {% block iboPageBodyHtml %}
{{ render_block(oLayout, {aPage: aPage}) }}
{% endblock %} {% block iboDeferredBlocks %} {% for oBlock in aDeferredBlocks %} {{ render_block(oBlock, {aPage: aPage}) }} {% endfor %} {% endblock %} {% if aPage.aJsFiles is not empty %} {% endif %} {% block iboPageJsFiles %} {% for sJsFile in aPage.aJsFiles %} {% endfor %} {% endblock %} {% block iboPageJsInlineScripts %} {% if aPage.aJsInlineOnInit is not empty or aPage.aJsInlineOnDomReady is not empty %} {% endif %} {% block iboPageJsInlineLive %} {% for sJsInline in aPage.aJsInlineLive %} {# We put each scripts in a dedicated script tag to prevent massive failure if 1 script is broken (eg. missing semi-colon or non closed multi-line comment) #} {% endfor %} {% endblock %} {% endblock %} {{ aPage.sCapturedOutput|raw }}