website/templates/base.html

34 lines
1 KiB
HTML
Raw Normal View History

2022-06-09 08:36:29 +01:00
{% 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 %}
2022-06-10 15:44:43 +01:00
{% if current_site and current_site.site_name %}:: {{ current_site.site_name }}{% endif %}
2022-06-09 08:36:29 +01:00
{% endblock %}
</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
2022-06-10 09:13:00 +01:00
<link rel="stylesheet" type="text/css" href="{% static 'css/index.css' %}">
2022-06-09 08:36:29 +01:00
2022-06-10 15:44:43 +01:00
{% block extra_css %}{% endblock %}
2022-06-09 08:36:29 +01:00
</head>
<body class="{% block body_class %}{% endblock %}">
{% wagtailuserbar %}
{% block content %}{% endblock %}
2022-06-10 09:13:00 +01:00
<script type="text/javascript" src="{% static 'js/index.js' %}"></script>
2022-06-09 08:36:29 +01:00
2022-06-10 15:44:43 +01:00
{% block extra_js %}{% endblock %}
2022-06-09 08:36:29 +01:00
</body>
</html>