Cut the unnecessary middle base template.
[wolnelektury.git] / src / wolnelektury / templates / 2022 / base.html
1 <!doctype html>
2 {% load pipeline %}
3 {% load static %}
4 {% load piwik_tags %}
5 {% load title %}
6
7 {% block settings %}
8 {% endblock %}
9
10 <html class="no-js">
11   <head>
12     <meta charset="utf-8">
13     <meta name="description" content="">
14     <meta name="viewport" content="width=device-width,initial-scale=1">
15     <title>{% if title %}{{ title }} | {% endif %}WolneLektury.pl</title>
16     <link rel="apple-touch-icon" href="apple-touch-icon.png">
17     {% stylesheet '2022' %}
18       <script src="scripts/modernizr.js"></script>
19
20       <link rel="preconnect" href="https://fonts.googleapis.com">
21       <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
22       <link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&display=swap" rel="stylesheet">
23
24       {% tracking_code %}
25   </head>
26   <body>
27     {% include '2022/header.html' %}
28
29     {% block global-content %}
30       <div class="l-container">
31         <div class="l-breadcrumb">
32           <a href="/"><span>Strona główna</span></a>
33           {% block breadcrumbs %}<span>{{ title }}</span>{% endblock %}
34         </div>
35       </div>
36
37       <main class="l-main">
38         {% block main %}{% endblock %}
39       </main>
40     {% endblock %}
41
42     {% include '2022/footer.html' %}
43
44     <script src="{% static '2022/scripts/vendor.js' %}"></script>
45     <script src="{% static '2021/scripts/main.js' %}"></script>
46
47     {% javascript '2022' %}
48     {% javascript '2022_player' %}
49     {% include '2022/hotjar.html' %}
50   </body>
51 </html>