{% 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>{{ config.title }}</title>
	<link rel="stylesheet" href="/style.css">
	<link rel="icon" href="/favicon.ico">
</head>
<body>
	<header>
		<img src="/logo.svg" alt="Logo PedF">
		<h1><a href="{{ config.base_url }}">{{ config.title | upper }}</a></h1>
		{{ macros::nav(type="short") }}
	</header>
	<main>
		{% block content %}
			{{ section.content | safe }}
		{% endblock content %}
	</main>
	<footer>
		<p>
			{% if config.extra.institution and config.extra.institution_url -%}
				<a href="{{ config.extra.institution_url }}">{{ config.extra.institution }}</a>
			{%- elif config.extra.institution -%}
				{{ config.extra.institution }}
			{%- else -%}
				{{ config.title }}
			{%- endif -%}
			, {{ now() | date(format="%Y") }}
		</p>
	</footer>
</body>
</html>