{% block body_start %}{% endblock %}
{% block app_bar %}
{% if current_user.is_authenticated and self.sidebar()|trim %}
{% endif %}
{% include "_brand.html" %}
{% if not current_user.is_authenticated %}
Sign in
{% else %}
{% block app_bar_actions %}
{% if stk_notifications %}
{% endif %}
{{ current_user.name[:2]|upper if current_user.name else 'U' }}
{% block user_menu %}
My AccountChange PasswordTwo-Factor Auth
{% endblock %}
Logout
{% endblock %}
{% endif %}
{% endblock %}
{% block sidebar %}
{% if current_user.is_authenticated %}
Navigation
{% endif %}
{% endblock %}
{% block main %}
{% block content %}
{% endblock %}
{% endblock %}
{% set messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
{{ message }}
{% endfor %}
{% endif %}
{% block app_end %}{% endblock %}
{% if current_user.is_authenticated %}
{% endif %}
{% if messages %}
{% endif %}
{% block navigation %}
{% endblock %}
{% block layout_script %}
{% endblock %}
{# A page with no script of its own (an error page) still has to mount, or v-cloak hides it. #}
{% block js %}
{% endblock %}