Merge commit 'aa54803a84208816e9c678359bd3f86760484ce0'

This commit is contained in:
Bjørn Erik Pedersen
2020-03-20 09:19:29 +01:00
11 changed files with 22 additions and 20 deletions

View File

@@ -160,12 +160,14 @@ show_comments: false
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.
### Example
```yaml
# content/blog/_index.md
In `content/blog/_index.md`
{{< code-toggle copy="false" >}}
title: Blog
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: