You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
web/templates/base.html

48 lines
1.2 KiB
HTML

4 years ago
<!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 -%}
</title>
<link rel="stylesheet" href="{{ get_url(path="main.css") | safe }}">
</head>
<body>
4 years ago
<header>
<div class="wrap">
<a href="{{ config.base_url }}" class="logo"><img src="{{ get_url(path="logo.svg") }}" alt="Logo KITTV"></a>
<section>
<nav class="secondary">
{% if config.extra.nav_secondary %}
<ul>
{% for item in config.extra.nav_secondary %}
<li><a href="{{ item.path }}">{{ item.name }}</a></li>
{% endfor %}
</ul>
{% endif %}
</nav>
<nav class="primary">
{% if config.extra.nav_primary %}
<ul>
{% for item in config.extra.nav_primary %}
<li><a href="{{ item.path }}">{{ item.name }}</a></li>
{% endfor %}
</ul>
{% endif %}
</nav>
</section>
</div>
4 years ago
</header>
4 years ago
<main>
{% block content %}{% endblock content %}
</main>
4 years ago
<footer>
4 years ago
<p>Magdalény Rettigové 4, 116 39, Praha 1</p>
<p>Praha UK PedF KITTV, {{ now() | date(format="%Y") }}</p>
4 years ago
</footer>
4 years ago
</body>
</html>