contentmatcher/templates/partials/header.html

13 lines
358 B
HTML
Raw Permalink Normal View History

2022-08-12 19:51:55 +02:00
<header>
<h1><a href="{{ url_for('menu.index') }}">contentmatcher</a></h1>
<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>
</header>