Toggle navigation
{% if current_user.is_authenticated %}
{{ current_user.username }}
{{ current_user.username }}
Account
{% if current_user.admin %}
Admin
{% endif %}
Sign out
{% else %}
Sign in
Register
{% endif %}
{% if request.endpoint not in ['main.notifications', 'main.tags', 'main.edit_tag', 'main.settings'] %} {% include 'flash_messages.html' %} {% endif %} {% block content %}{% endblock %}