2023-07-02 17:18:57 +01:00
|
|
|
{% load static wagtailcore_tags wagtailuserbar navbar_tags footer_tags plausible_wagtail favicon_tags sri cache contact_tags %}
|
2022-06-09 08:36:29 +01:00
|
|
|
|
|
|
|
<!DOCTYPE html>
|
2022-08-03 20:22:02 +01:00
|
|
|
<html lang="en-GB">
|
2022-06-12 21:08:11 +01:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<title>
|
|
|
|
{% block title %}{% endblock %}
|
|
|
|
</title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
2022-10-05 14:17:00 +01:00
|
|
|
{% if not SEO_INDEX %}<meta name="robots" content="noindex" />{% endif %}
|
2022-08-27 23:44:56 +01:00
|
|
|
|
2022-09-05 13:58:36 +01:00
|
|
|
{% favicon_meta %}
|
2022-08-27 23:44:56 +01:00
|
|
|
|
2022-08-17 08:45:15 +01:00
|
|
|
{% block extra_head %}{% endblock %}
|
2022-06-09 08:36:29 +01:00
|
|
|
|
2023-06-21 12:43:08 +01:00
|
|
|
<link rel="alternate" type="application/rss+xml" href="{% url 'feed' %}" />
|
|
|
|
|
2023-07-02 17:18:57 +01:00
|
|
|
{% mastodon_link %}
|
|
|
|
|
2022-09-03 16:35:39 +01:00
|
|
|
<script async type="text/javascript" src="{% static 'js/ie11-deterrent.js' %}" integrity="{% sri_integrity_static 'js/ie11-deterrent.js' %}"></script>
|
|
|
|
|
2022-09-01 08:36:39 +01:00
|
|
|
{% sri_static "css/base.css" %}
|
|
|
|
{% sri_static "contrib/fontawesome/css/all.min.css" %}
|
2022-09-29 21:05:19 +01:00
|
|
|
{% sri_static "contrib/fira-code/latin.css" %}
|
2022-06-09 08:36:29 +01:00
|
|
|
|
2022-06-12 21:08:11 +01:00
|
|
|
{% block extra_css %}{% endblock %}
|
|
|
|
</head>
|
2022-06-09 08:36:29 +01:00
|
|
|
|
2022-06-12 21:08:11 +01:00
|
|
|
<body class="{% block body_class %}{% endblock %}">
|
|
|
|
{% wagtailuserbar %}
|
2022-06-09 08:36:29 +01:00
|
|
|
|
2022-10-29 15:14:39 +01:00
|
|
|
{% cache 1800 "navbar" request.is_preview %}
|
|
|
|
{% navbar %}
|
|
|
|
{% endcache %}
|
2022-06-12 17:21:46 +01:00
|
|
|
|
2022-06-15 09:27:20 +01:00
|
|
|
{% block main %}
|
|
|
|
<main>
|
2022-08-05 09:25:30 +01:00
|
|
|
{% block main_content %}{% endblock %}
|
2022-06-15 09:27:20 +01:00
|
|
|
</main>
|
|
|
|
{% endblock %}
|
2022-06-09 08:36:29 +01:00
|
|
|
|
2022-10-29 15:14:39 +01:00
|
|
|
{% cache 1800 "footer" request.is_preview %}
|
|
|
|
{% footer %}
|
|
|
|
{% endcache %}
|
2022-06-14 21:53:31 +01:00
|
|
|
|
2022-09-01 08:36:39 +01:00
|
|
|
<script async defer type="text/javascript" src="{% static 'js/base.js' %}" integrity="{% sri_integrity_static 'js/base.js' %}"></script>
|
|
|
|
<script async defer type="text/javascript" src="{% static 'contrib/htmx/htmx.min.js' %}" integrity="{% sri_integrity_static 'contrib/htmx/htmx.min.js' %}"></script>
|
2022-06-12 21:08:11 +01:00
|
|
|
|
2022-08-16 22:51:03 +01:00
|
|
|
{# Not async to avoid bright flashes #}
|
2022-10-29 15:19:58 +01:00
|
|
|
{% sri_static "js/dark-mode.js" %}
|
2022-06-12 21:08:11 +01:00
|
|
|
|
|
|
|
{% block extra_js %}{% endblock %}
|
|
|
|
|
2023-05-05 12:00:51 +01:00
|
|
|
{% block plausible %}
|
|
|
|
{% if not request.user.is_authenticated or not request.is_preview %}
|
|
|
|
{% plausible %}
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
2022-06-12 21:08:11 +01:00
|
|
|
</body>
|
2022-06-09 08:36:29 +01:00
|
|
|
</html>
|