Chapter 5

This commit is contained in:
2023-06-03 17:32:23 +02:00
parent f9020e921f
commit 428e022bd4
9 changed files with 136 additions and 21 deletions

View File

@@ -10,7 +10,11 @@
<div>
Microblog:
<a href="{{ url_for('index') }}">Home</a>
<a href="{{ url_for('login') }}">Login</a>
{% if current_user.is_anonymous %}
<a href="{{ url_for('login') }}">Login</a>
{% else %}
<a href="{{ url_for('logout') }}">Logout</a>
{% endif %}
</div>
<hr />
{% with messages = get_flashed_messages() %}