{% extends base_template_path %} {% block hero %}{% endblock %} {% block content %} {% macro main_content() %}
{% block page_container %}
{%- block page_content -%}{%- endblock -%}
{% endblock %}
{% endmacro %} {% macro container_attributes() -%} id="page-{{ name or route | e }}" data-path="{{ pathname | e }}" {%- if page_or_generator=="Generator" %}source-type="Generator" data-doctype="{{ doctype }}"{%- endif %} {%- if source_content_type %}source-content-type="{{ source_content_type }}"{%- endif %} {%- endmacro %} {% macro sidebar() %} {% endmacro %} {% if show_sidebar %}
{%- set columns = sidebar_columns or 2 -%} {%- if not sidebar_right -%} {{ sidebar() }} {%- endif -%}
{{ main_content() }}
{%- if sidebar_right -%} {{ sidebar() }} {%- endif -%}
{% else %}
{{ main_content() }}
{% endif %} {% endblock %}