Add template control flow to display login & sign or username

- Also commit the relevant TTF font for the myspace logo in the previous commit
This commit is contained in:
Xevion
2022-03-26 20:09:45 -05:00
parent 5845821391
commit 19e582f72e
5 changed files with 95 additions and 0 deletions

View File

@@ -2,7 +2,11 @@
<div class="header-primary">
<span id="logo">runnerspace</span>
<div class="header-login">
{% if logged_in %}
Logged in as <a href="/user/{{ user.username }}" class="username">{{ user.username }}</a>
{% else %}
<a href="/login">Login</a> or <a href="/signup">Sign-up</a>!
{% endif %}
</div>
</div>
<nav class="header-secondary">