mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
Merge commit 'aa54803a84208816e9c678359bd3f86760484ce0'
This commit is contained in:
@@ -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:
|
||||
|
||||
|
@@ -333,7 +333,7 @@ Using the preceding `tweet` example, the following simulates the displayed exper
|
||||
|
||||
### `vimeo`
|
||||
|
||||
Adding a video from [Vimeo][] is equivalent to the YouTube shortcode above.
|
||||
Adding a video from [Vimeo][] is equivalent to the [YouTube Input shortcode][].
|
||||
|
||||
```
|
||||
https://vimeo.com/channels/staffpicks/146022717
|
||||
@@ -431,3 +431,4 @@ To learn more about creating custom shortcodes, see the [shortcode template docu
|
||||
[templatessection]: /templates/
|
||||
[Vimeo]: https://vimeo.com/
|
||||
[YouTube Videos]: https://www.youtube.com/
|
||||
[YouTube Input shortcode]: #youtube
|
||||
|
Reference in New Issue
Block a user