forked from Fediversity/Fediversity
Add login indicator
This commit is contained in:
parent
ec4e802124
commit
ffd6213549
1 changed files with 7 additions and 0 deletions
|
@ -15,6 +15,13 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<header>
|
||||
{% if user.is_authenticated %}
|
||||
<p>Welcome, {{ user.username }}!</p>
|
||||
{% else %}
|
||||
<p>You are not logged in.</p>
|
||||
{% endif %}
|
||||
</header>
|
||||
{% block navigation %}
|
||||
<nav>
|
||||
</nav>
|
||||
|
|
Loading…
Add table
Reference in a new issue