mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 18:15:45 +00:00
Update sectionvars.md
This commit is contained in:
1 parent
7c9653cbe0
commit
e08be4d81e
1 file changed
+4
@@ -1,6 +1,10 @@
|
|||||||
.CurrentSection
|
.CurrentSection
|
||||||
: The page's current section. The value can be the page itself if it is a section or the homepage.
|
: 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
|
.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.
|
: 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.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user