website/templates/page.html

14 lines
338 B
HTML
Raw Normal View History

2022-09-26 23:42:42 +02:00
{% extends "base.html" %}
2023-03-20 23:04:27 +01:00
{% block title %}{% if page.title %}{{ page.title }} | {% endif %}{{ config.extra.sitename|safe }}{% endblock title %}
2022-09-26 23:42:42 +02:00
{% block head %}
{% endblock head %}
{% block body %}
<main class="narrower">
2023-03-20 23:04:27 +01:00
{% if page.title %}<h1>{{ page.title }}</h1>{% endif %}
2023-05-27 15:32:08 +02:00
{{ page.content | safe }}
2022-09-26 23:42:42 +02:00
</main>
{% endblock body %}