mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
Merge commit 'be04ece8590f775a52ea167fbe4555753e8c5211'
This commit is contained in:
@@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user