Add login indicator

This commit is contained in:
lois Verheij 2025-02-18 11:01:09 +01:00
parent ec4e802124
commit ffd6213549

View file

@ -15,6 +15,13 @@
</head> </head>
<body> <body>
<header>
{% if user.is_authenticated %}
<p>Welcome, {{ user.username }}!</p>
{% else %}
<p>You are not logged in.</p>
{% endif %}
</header>
{% block navigation %} {% block navigation %}
<nav> <nav>
</nav> </nav>