{% extends "/themes/default/core.html" %}

{% use "/themes/default/header.html" with css as header_css, body as header, js as header_js %}
{% use "/themes/default/aside.html" with css as aside_css, body as aside, js as aside_js %}
{% use "/themes/default/footer.html" with css as footer_css, body as footer, js as footer_js %}

{% block css %}
{{ parent() }}
{{ block('header_css') }}
{{ block('aside_css') }}
{{ block('footer_css') }}
{% endblock %}

{% block body %}
{{ block('header') }}
{{ block('aside') }}
<main>
	{% block main %}
	{{ main|raw }}
	{% endblock %}
</main>
{% block graph %}
{% endblock %}
{{ block('footer') }}
{% endblock %}

{% block js %}
{{ parent() }}
{{ block('footer_js') }}
{{ block('header_js') }}
{{ block('aside_js') }}
{% endblock %}
