diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-12-08 08:54:25 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-12-08 08:54:25 +0100 |
commit | 6c841a691ed567acdddffec84642326decf311ce (patch) | |
tree | ffce1423050960a847faf50ab75327015af85ec2 /docs/content/en/content-management/front-matter.md | |
parent | e71d715b9b0c55aea7ef4fc88642eecd6e7b58c3 (diff) | |
parent | 8d9511a08f14260cbfb73119e4afae50e5a9966d (diff) |
Merge commit '8d9511a08f14260cbfb73119e4afae50e5a9966d'
Diffstat (limited to 'docs/content/en/content-management/front-matter.md')
-rw-r--r-- | docs/content/en/content-management/front-matter.md | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/docs/content/en/content-management/front-matter.md b/docs/content/en/content-management/front-matter.md index 0353fb1fe..2155f1992 100644 --- a/docs/content/en/content-management/front-matter.md +++ b/docs/content/en/content-management/front-matter.md @@ -65,7 +65,7 @@ audio : an array of paths to audio files related to the page; used by the `opengraph` [internal template](/templates/internal) to populate `og:audio`. cascade -: a map of Front Matter keys whose values are passed down to the page's descendents unless overwritten by self or a closer ancestor's cascade. See [Front Matter Cascade](#front-matter-cascade) for details. +: 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 [Front Matter Cascade](#front-matter-cascade) for details. date : the datetime assigned to this page. This is usually fetched from the `date` field in front matter, but this behaviour is configurable. @@ -128,8 +128,7 @@ type : the type of the content; this value will be automatically derived from the directory (i.e., the [section][]) if not specified in front matter. url -: the full path to the content from the web root. It makes no assumptions about the path of the content file. It also ignores any language prefixes of -the multilingual feature. +: the full path to the content from the web root. It makes no assumptions about the path of the content file. See [URL Management](/content-management/urls/#set-url-in-front-matter). videos : an array of paths to videos related to the page; used by the `opengraph` [internal template](/templates/internal) to populate `og:video`. @@ -157,7 +156,7 @@ show_comments: false ## Front Matter Cascade -Any node or section can pass down to descendents a set of Front Matter values as long as defined underneath the reserved `cascade` Front Matter key. +Any node or section can pass down to descendants a set of Front Matter values as long as defined underneath the reserved `cascade` Front Matter key. ### Target Specific Pages @@ -202,9 +201,9 @@ cascade: banner: images/typewriter.jpg {{</ code-toggle >}} -With the above example the Blog section page and its descendents will return `images/typewriter.jpg` when `.Params.banner` is invoked unless: +With the above example the Blog section page and its descendants will return `images/typewriter.jpg` when `.Params.banner` is invoked unless: -- Said descendent has its own `banner` value set +- Said descendant has its own `banner` value set - Or a closer ancestor node has its own `cascade.banner` value set. |