Select Git revision
Forked from
Institut π / pi-cms
40 commits behind the upstream repository.
-
Tomáš Valenta authoredTomáš Valenta authored
base.html 2.79 KiB
{% load static wagtailcore_tags wagtailuserbar %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>
{% block title %}
{% if page.seo_title %}{{ page.seo_title }}{% else %}{{ page.title }}{% endif %}
{% endblock %}
{% block title_suffix %}
{% wagtail_site as current_site %}
{% if current_site and current_site.site_name %}- {{ current_site.site_name }}{% endif %}
{% endblock %}
</title>
{% if page.search_description %}
<meta name="description" content="{{ page.search_description }}" />
{% endif %}
<meta name="viewport" content="width=device-width, initial-scale=1" />
{# Force all links in the live preview panel to be opened in a new tab #}
{% if request.in_preview_panel %}
<base target="_blank">
{% endif %}
{# Global stylesheets #}
<link rel="stylesheet" type="text/css" href="{% static 'css/style.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'fonts/pirati-ui/style.css' %}">
<link
rel="stylesheet"
href="{% static 'fonts/bebas-neue/style.css' %}"
>
<link
rel="stylesheet"
href="{% static 'fonts/source-serif/style.css' %}"
>
<link rel="icon" type="image/png" href="{% static 'images/logo_big.png' %}">
{% block extra_css %}
{# Override this in templates to add extra stylesheets #}
{% endblock %}
</head>
<body>
{% wagtailuserbar %}
<nav class="bg-grey-800 py-8 flex justify-center">
<div class="flex gap-7 container text-white items-center">
<a
href="/"
>
<img
class="h-9"
src="{% static 'images/logo.png' %}"
alt="Logo"
>
</a>
<div
class="w-px h-6 bg-white hidden md:block"
></div>
<div class="gap-4 hidden md:flex">
<a class="nav__item" href="/#uvod">Úvod</a>
<a class="nav__item" href="/clanky">Aktuálně</a>
<a class="nav__item" href="/akce">Akce</a>
<a class="nav__item" href="/dokumenty">Dokumenty</a>
<a class="nav__item" href="/#dary">Dary</a>
<a class="nav__item" href="/#kontakty">Kontakty</a>
<a class="nav__item" href="/#lide">Lidé</a>
</div>
</div>
</nav>
<div class="mb-10">
{% block content %}{% endblock %}
</div>
{% block extra_js %}{% endblock %}
</body>
</html>