{% if current_user.is_authenticated %} {% endif %}
{% if current_user.is_authenticated %}
{{ site_name }}
{% endif %} {% if not current_user.is_authenticated and request.endpoint not in ['public.home', 'auth.login', 'auth.register', 'setup.wizard'] %} {{ site_name }} {% endif %} {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
{% for category, message in messages %}
{{ t(message) }}
{% endfor %}
{% endif %} {% endwith %} {% block content %}{% endblock %}