mirror of
https://github.com/gohugoio/hugo.git
synced 2026-09-01 03:02:38 +00:00
Add .Page.Dir documentation
This commit is contained in:
committed by
digitalcraftsman
parent
22038d1a8e
commit
60b4414dec
@@ -41,6 +41,9 @@ See [`.Scratch`](/functions/scratch/) for page-scoped, writable variables.
|
||||
`.Description`
|
||||
: the description for the page.
|
||||
|
||||
`.Dir`
|
||||
: the path of the folder containing this content file. The path is relative to the `content` folder.
|
||||
|
||||
`.Draft`
|
||||
: a boolean, `true` if the content is marked as a draft in the front matter.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user