kocandaci/templates/base.html
2024-01-10 00:55:20 +01:00

31 lines
673 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") }}">
</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>
</body>
</html>