{% block head_css %} {% endblock head_css %} {% block head_js %} {% endblock head_js %} {% if context.head_title %} {% block head_title %} Flask-unity - {{context.head_title}} {% endblock head_title %} {% else %} Flask-unity {% endif %}
{% if current_user.is_authenticated %} {% else %} Github {% endif %} | {% if current_user.is_authenticated %} register logout {% else %} Docs login {% endif %}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %}
{{message}}
{% endfor %} {% endif %} {% endwith %}
{% block auth %} {% endblock auth %} {% block logo %} {% block short_info %} {% endblock short_info %} {% endblock logo %} {% block main %} {% endblock main %}