mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-25 07:48:52 +00:00
Add .Page.CurrentSection and .Page.Sections documentation
This commit is contained in:
committed by
digitalcraftsman
parent
60b4414dec
commit
62df7bb805
@@ -32,6 +32,9 @@ See [`.Scratch`](/functions/scratch/) for page-scoped, writable variables.
|
||||
`.Content`
|
||||
: the content itself, defined below the front matter.
|
||||
|
||||
`.CurrentSection`
|
||||
: the page's current section. The value can be the page itself if it is a section or the homepage.
|
||||
|
||||
`.Data`
|
||||
: the data specific to this type of page.
|
||||
|
||||
@@ -145,6 +148,9 @@ http://remarkjs.com)
|
||||
`.Section`
|
||||
: the [section](/content-management/sections/) this content belongs to.
|
||||
|
||||
`.Sections`
|
||||
: the [sections](/content-management/sections/) below this content.
|
||||
|
||||
`.Site`
|
||||
: see [Site Variables](/variables/site/).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user