2024-05-16 02:03:49 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2024-05-26 01:44:57 +00:00
|
|
|
<title>{% block page_title %}{% endblock %}{{ site_name }}</title>
|
2024-07-18 01:32:25 +00:00
|
|
|
{% block meta_tags %}
|
|
|
|
<meta name="description" value="{{ site_description }}">
|
|
|
|
<meta name="keywords" value="{{ page_tags }}">
|
|
|
|
{% endblock %}
|
2024-11-07 02:50:14 +00:00
|
|
|
<link rel="stylesheet" href="static/main.css">
|
2024-11-08 14:07:29 +00:00
|
|
|
|
|
|
|
{% block head_js %}{% endblock %}
|
2024-05-16 02:03:49 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="container">
|
|
|
|
<header>
|
2024-11-07 03:45:03 +00:00
|
|
|
<h1><a href="/home">Slovocast</a></h1>
|
2024-05-16 02:27:06 +00:00
|
|
|
{% block header %}{% endblock %}
|
2024-05-16 02:03:49 +00:00
|
|
|
</header>
|
|
|
|
|
2024-11-07 02:50:14 +00:00
|
|
|
<nav>
|
|
|
|
<ul>
|
2024-11-26 01:33:04 +00:00
|
|
|
{% if session.get('user').authenticated %}
|
2024-11-07 02:50:14 +00:00
|
|
|
<li><a href="/dashboard">Dashboard</a></li>
|
2024-11-25 02:35:34 +00:00
|
|
|
<li><a href="/logout">Logout</a></li>
|
2024-11-07 02:50:14 +00:00
|
|
|
{% else %}
|
|
|
|
<li><a href="/login">Login</a></li>
|
2024-11-08 14:07:29 +00:00
|
|
|
<li><a href="/register">Register</a></li>
|
2024-11-07 02:50:14 +00:00
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
|
2024-05-16 02:03:49 +00:00
|
|
|
<main>
|
2024-07-18 02:05:42 +00:00
|
|
|
{% include 'layouts/components/flash.twig' %}
|
2024-05-16 02:27:06 +00:00
|
|
|
{% block content %}{% endblock %}
|
2024-05-16 02:03:49 +00:00
|
|
|
</main>
|
|
|
|
|
|
|
|
<footer>
|
2024-11-07 03:21:41 +00:00
|
|
|
{% block footer %}
|
|
|
|
© 2024, Slovocast
|
|
|
|
{% endblock %}
|
2024-05-16 02:03:49 +00:00
|
|
|
</footer>
|
|
|
|
</div>
|
2024-11-08 14:07:29 +00:00
|
|
|
|
|
|
|
{% block body_js %}{% endblock %}
|
2024-05-16 02:03:49 +00:00
|
|
|
</body>
|
|
|
|
</html>
|