{% if not current_user.is_authenticated %}
Sign in
Register
{% else %}
Sign out
{% endif %}

{{title}}

{% block main %} {% endblock main %}