From 3c7aabea2080f66892f70a852ff000d6d1037eb8 Mon Sep 17 00:00:00 2001 From: Fabrice Mouhartem Date: Mon, 20 Nov 2023 11:33:01 +0100 Subject: [PATCH] Nav working section with subpages --- templates/nav.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/nav.html b/templates/nav.html index 4e91a79..95a83fa 100644 --- a/templates/nav.html +++ b/templates/nav.html @@ -1,9 +1,12 @@ +{% if page %} +{% set page_section = get_section(path=page.ancestors[1], metadata_only = true) %} +{% endif %}