website/templates/page.html
2023-03-20 23:04:27 +01:00

14 lines
336 B
HTML

{% extends "base.html" %}
{% block title %}{% if page.title %}{{ page.title }} | {% endif %}{{ config.extra.sitename|safe }}{% endblock title %}
{% block head %}
{% endblock head %}
{% block body %}
<main class="narrower">
{% if page.title %}<h1>{{ page.title }}</h1>{% endif %}
{{page.content | safe}}
</main>
{% endblock body %}