rowt/templates/base.html.tera

29 lines
743 B
Plaintext
Raw Normal View History

2023-04-06 09:30:43 +02:00
{% import "includes/macros" as macros %}
2023-04-03 16:11:26 +02:00
<!DOCTYPE html>
<html lang="de">
2023-04-03 16:11:26 +02:00
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="manifest" href="public/manifest.json" />
<link rel="stylesheet" href="/public/main.css" />
2023-04-03 16:11:26 +02:00
</head>
<body class="bg-gray-100">
2023-04-06 09:30:43 +02:00
{%if loggedin_user %}
{{ macros::header(loggedin_user=loggedin_user) }}
{%endif%}
2023-04-10 23:10:24 +02:00
<div class="flex min-h-screen {%if not loggedin_user %} items-center {% else %} items-start {% endif %} justify-center px-4 py-12 sm:px-6 lg:px-8">
2023-04-06 09:30:43 +02:00
{% block content %}{% endblock content %}
</div>
{%if loggedin_user %}
{% include "includes/footer" %}
{%endif%}
<script src="/public/main.js"></script>
2023-04-03 16:11:26 +02:00
</body>
</html>