{% set page = layout.page %} {% set header = layout.header %} {% set footer = layout.footer %} {% set content = layout.content %} {% set contentLeft = layout.contentLeft %} {% set contentRight = layout.contentRight %} {% set contentMain = layout.contentMain %} {% if header %}
{% if header.containerEnabled %}
{% endif %}
{{ _self.renderSectionContent(templateContent, 'header') }}
{% if header.containerEnabled %}
{% endif %}
{% endif %} {% if content %}
{% if content.containerEnabled %}
{% endif %}
{% if contentLeft %}
{% endif %} {% if contentMain %}
{{ _self.renderSectionContent(templateContent, 'content_main') }}
{% endif %} {% if contentRight %}
{% endif %}
{% if content.containerEnabled %}
{% endif %}
{% endif %} {% if footer %} {% endif %} {% macro renderSectionContent(section, name) %}
{% if templateContent[name] is defined %} {% for component in templateContent[name] %} {{ component.content|raw }} {% endfor %} {% endif %}
{% endmacro %}