From 0658980b6e71b1c73c3ec286c4f57756f02448b2 Mon Sep 17 00:00:00 2001 From: Brummel Date: Wed, 20 May 2026 22:44:38 +0200 Subject: [PATCH] feat: section template stacking subpages as anchored articles --- templates/section.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 templates/section.html diff --git a/templates/section.html b/templates/section.html new file mode 100644 index 0000000..7c161f0 --- /dev/null +++ b/templates/section.html @@ -0,0 +1,26 @@ +{% extends "base.html" %} + +{% block content %} + +
+ +
+ +
+
+ {% if section.content %} +
{{ section.content | safe }}
+ {% endif %} + + {% for page in section.pages %} +
+

{{ page.title }}

+ {{ page.content | safe }} +
+ {% endfor %} +
+
+ +{% endblock %}