contentmatcher/templates/partials/navigation.html

12 lines
265 B
HTML
Raw Normal View History

2022-08-12 19:51:55 +02:00
<nav>
{% if username %}
<span>logged in as <em>{{username}}</em></span>
<a href="{{ url_for('auth.logout') }}">Log Out</a>
{% else %}
<a href="{{ url_for('auth.register') }}">Register</a>
<a href="{{ url_for('auth.login') }}">Log In</a>
{% endif %}
</nav>