{% extends "core.html" %}

{% use "core.html" with css as core_css, body as core_body, js as core_js %}
{% use "header.html" with css as header_css, body as header_body, js as header_js %}
{% use "menu.html" with css as menu_css, body as menu_body, js as menu_js %}

{% block css %}
{{ block('core_css') }}
{{ block('header_css') }}
{{ block('menu_css') }}
{% endblock %}

{% block body %}
<audio id="notification" class="hidden" src="/sounds/notification.mp3" preload="auto"></audio>
{% if account is not null %}
{{ block('menu_body') }}
{% endif %}
<main>
	{% block main %}
	{{ main|raw }}
	{% endblock %}
</main>
{% endblock %}

{% block js %}
{{ block('header_js') }}
{{ block('menu_js') }}
{{ block('core_js') }}
{% endblock %}
