From e08be4d81efd30542172ce0548f7b2139f7c23d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 3 May 2019 15:04:27 +0200 Subject: [PATCH] Update sectionvars.md --- content/en/readfiles/sectionvars.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/en/readfiles/sectionvars.md b/content/en/readfiles/sectionvars.md index 1b97a12d6..ca3a34164 100644 --- a/content/en/readfiles/sectionvars.md +++ b/content/en/readfiles/sectionvars.md @@ -1,6 +1,10 @@ .CurrentSection : The page's current section. The value can be the page itself if it is a section or the homepage. +.FirstSection + +: The page's first section below root, e.g. `/docs`, `/blog` etc. + .InSection $anotherPage : Whether the given page is in the current section. Note that this will always return false for pages that are not either regular, home or section pages.