diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-05-25 10:41:51 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-05-25 10:41:51 +0200 |
commit | 4f61a926f61b490ed9ddf8de276bc355448c5a86 (patch) | |
tree | f928ce54970e79e425364905cfde36218134b75d /docs/content/en/readfiles/sectionvars.md | |
parent | 5b4b8bb3c1ecb30e7a38ed44eb795f1d972cd320 (diff) | |
parent | be04ece8590f775a52ea167fbe4555753e8c5211 (diff) |
Merge commit 'be04ece8590f775a52ea167fbe4555753e8c5211'
Diffstat (limited to 'docs/content/en/readfiles/sectionvars.md')
-rw-r--r-- | docs/content/en/readfiles/sectionvars.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/content/en/readfiles/sectionvars.md b/docs/content/en/readfiles/sectionvars.md index 1b97a12d6..698955c02 100644 --- a/docs/content/en/readfiles/sectionvars.md +++ b/docs/content/en/readfiles/sectionvars.md @@ -1,6 +1,9 @@ .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. |