kocandaci/templates/base.html
2024-01-11 19:33:16 +01:00

33 lines
805 B
HTML

{% import "macros.html" as macros %}
<!DOCTYPE html>
<html lang="cs">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}{{ config.title }}{% endblock %}</title>
<link rel="stylesheet" type="text/css" href="{{ get_url(path="/style.css") }}">
<link rel="stylesheet" type="text/css" href="{{ get_url(path="/icons/remixicon-4.0.0.css") }}">
</head>
<body>
<nav>
<div class="wrap">
<a href="{{ config.base_url }}"><img src="{{ get_url(path="/img/logo.svg") }}" class="logo"></a>
<ul>
{{ macros::nav_items() }}
</ul>
</div>
</nav>
{% block content %}
{% endblock %}
<footer>
<p>&copy; {{ now() | date(format="%Y") }} {{ config.title }}</p>
</footer>
{% block script %}
{% endblock %}
</body>
</html>