13 lines
358 B
HTML
13 lines
358 B
HTML
<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>
|