feat: admin status, first user is admin, site settings

This commit is contained in:
Per Stark
2025-01-22 12:30:52 +01:00
parent 5a1095f538
commit 16e0611a88
12 changed files with 207 additions and 38 deletions

View File

@@ -0,0 +1,13 @@
{% extends 'body_base.html' %}
{% block main %}
<main class="container justify-center flex-grow flex mx-auto mt-4 p-5">
Hello
{% if user.admin %}
admin
{% else %}
user
{% endif %}
{{settings}}
</main>
{% endblock %}