à la carte

This commit is contained in:
Pascal Engélibert
2023-05-27 15:32:08 +02:00
parent a2c3c3eab0
commit 10b6804d72
8 changed files with 120 additions and 15 deletions

13
templates/section.html Normal file
View File

@ -0,0 +1,13 @@
{% extends "base.html" %}
{% block title %}{% if section.title %}{{ section.title }} | {% endif %}{{ config.extra.sitename|safe }}{% endblock title %}
{% block head %}
{% endblock head %}
{% block body %}
<main class="narrower">
{% if section.title %}<h1>{{ section.title }}</h1>{% endif %}
{{ section.content | safe }}
</main>
{% endblock body %}