content: Update description of the cascade front matter field

Closes #3201
This commit is contained in:
Joe Mooring
2025-09-09 10:49:41 -07:00
committed by GitHub
parent 0801e9b3f6
commit 4de8815e9d
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -14,7 +14,6 @@ You can configure your site to cascade front matter values to the home page and
For example, to cascade a "color" parameter to the home page and all its descendants:
{{< code-toggle file=hugo >}}
title = 'Home'
[cascade.params]
color = 'red'
{{< /code-toggle >}}
@@ -47,7 +47,7 @@ build
: (`map`) A map of [build options].
cascade
: (`map`) A map of front matter keys whose values are passed down to the page's descendants unless overwritten by self or a closer ancestor's cascade. See the [cascade] section for details.
: (`map`) A map (or a slice of maps) of front matter keys whose values are passed down to the page's descendants unless overwritten by self or a closer ancestor's cascade. See the [cascade] section for details.
date
: (`string`) The date associated with the page, typically the creation date. Note that the TOML format also supports unquoted date/time values. See the [dates](#dates) section for examples. Access this value from a template using the [`Date`] method on a `Page` object.