{% extends "layout.html" %} {%- set PAGE_LAYOUT | trim -%} {%- block page_layout -%} {{ "sidebar-start" if self.secondary()|trim else "no-sidebar" }} {%- endblock %} {%- endset -%} {%- block zone_main %} {%- if PAGE_LAYOUT == "no-sidebar" -%}
{{ self.zone_primary() }}
{%- elif PAGE_LAYOUT == "sidebar-end" -%}
{{ self.zone_primary() }}
{{ self.zone_secondary() }}
{%- else -%}
{{ self.zone_secondary() }}
{{ self.zone_primary() }}
{%- endif %} {%- endblock %}