Add footnote about alias to the build front matter key

This commit is contained in:
Patrice Chalin 2025-02-23 22:49:11 -05:00 committed by GitHub
parent f0629b77c7
commit d482657b76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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`.