Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/content-management/build-options.md')
-rw-r--r--docs/content/en/content-management/build-options.md7
1 files changed, 2 insertions, 5 deletions
diff --git a/docs/content/en/content-management/build-options.md b/docs/content/en/content-management/build-options.md
index c3f6f04c9..7bbb772df 100644
--- a/docs/content/en/content-management/build-options.md
+++ b/docs/content/en/content-management/build-options.md
@@ -95,18 +95,15 @@ Website needs to showcase a few of the hundred "testimonials" available as conte
To avoid setting the build options on every testimonials, one can use [`cascade`]({{< relref "/content-management/front-matter#front-matter-cascade" >}}) on the testimonial section's content file.
-```yaml
-#content/testimonials/_index.md
+{{< code-toggle >}}
title: Testimonials
-# section build options:
_build:
render: true
-# children build options with cascade
cascade:
_build:
render: false
list: true # default
-```
+{{< /code-toggle >}}
```go-html-template
{{/* layouts/_defaults/testimonials.html */}}