{% extends "layout.html" %} {%- set PAGE_LAYOUT | trim -%} {%- block page_layout -%} {{ "sidebar-start" if self.secondary()|trim else "no-sidebar" }} {%- endblock %} {%- endset -%} {%- block zone_wrapper -%}
{{ ui.container(self.pre_primary()) }} {%- call ui.util.call(ui.container) -%}
{%- if PAGE_LAYOUT == "no-sidebar" -%} {{ self.primary() }} {%- elif PAGE_LAYOUT == "sidebar-end" -%} {{ self.primary() }} {{ self.secondary() }} {%- else -%} {{ self.secondary() }} {{ self.primary() }} {%- endif %}
{%- endcall %}
{%- endblock zone_wrapper %}