From 1c179a7c913ec0f7d787decebc8026ea9fa4ab6b Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 12 Jul 2021 12:34:40 +0200 Subject: Display contents of section on page as well Signed-off-by: Matthias Beyer --- templates/page.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/page.html b/templates/page.html index fc8a52e..afb93e6 100644 --- a/templates/page.html +++ b/templates/page.html @@ -10,6 +10,10 @@ {% endfor %}

{{ page.title }}

{{ page.description | safe }} + + {% set parent = page.ancestors | last %} + {% set parent_section = get_section(path=parent) %} + {{ macro::tree(sec=parent_section) }} {% endblock nav %} {% block content %} -- cgit v1.2.3