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-12-04 03:01:31 +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-12-04 03:01:31 +00:00
|
|
|
<h1><a href="{{ url_for("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-12-04 03:01:31 +00:00
|
|
|
{% if session.get('authenticated') %}
|
|
|
|
<li><a href="{{ url_for("dashboard") }}">Dashboard</a></li>
|
|
|
|
<li><a href="{{ url_for("user-logout") }}">Logout</a></li>
|
2024-11-07 02:50:14 +00:00
|
|
|
{% else %}
|
2024-12-04 03:01:31 +00:00
|
|
|
<li><a href="{{ url_for("user-login-page") }}">Login</a></li>
|
|
|
|
<li><a href="{{ url_for("user-register-page") }}">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>
|