{% extends base_template_path %} {% block hero %}{% endblock %} {% block content %} {% macro main_content() %}
{% block page_container %}
{% if self.header_actions() %}
{% block header_actions %}{% endblock %}
{% endif %}
{%- 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 %} {% endmacro %} {% if show_sidebar %}
{{ main_content() }}
{% else %}
{{ main_content() }}
{% endif %} {% endblock %}