website/templates/page.html

13 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 %}