mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-16 18:34:48 -04:00
Add footnote about alias to the build front matter key
This commit is contained in:
parent
f0629b77c7
commit
d482657b76
@ -12,7 +12,7 @@ toc: true
|
|||||||
aliases: [/content/build-options/]
|
aliases: [/content/build-options/]
|
||||||
---
|
---
|
||||||
|
|
||||||
Build options are stored in a reserved front matter object named `build` with these defaults:
|
Build options are stored in a reserved front matter object named `build`[^1] with these defaults:
|
||||||
|
|
||||||
{{< code-toggle file=content/example/index.md fm=true >}}
|
{{< code-toggle file=content/example/index.md fm=true >}}
|
||||||
[build]
|
[build]
|
||||||
@ -23,7 +23,7 @@ render = 'always'
|
|||||||
|
|
||||||
list
|
list
|
||||||
: When to include the page within page collections. Specify one of:
|
: When to include the page within page collections. Specify one of:
|
||||||
|
|
||||||
- `always`
|
- `always`
|
||||||
: Include the page in _all_ page collections. For example, `site.RegularPages`, `.Pages`, etc. This is the default value.
|
: Include the page in _all_ page collections. For example, `site.RegularPages`, `.Pages`, etc. This is the default value.
|
||||||
|
|
||||||
@ -318,3 +318,5 @@ public/
|
|||||||
│ └── index.html
|
│ └── index.html
|
||||||
└── index.html
|
└── index.html
|
||||||
```
|
```
|
||||||
|
|
||||||
|
[^1]: For historical reasons, `_build` is an alias for `build`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user