Update build-options.md

This commit is contained in:
Bjørn Erik Pedersen authored and GitHub committed 2022-04-30 12:03:14 +02:00
1 parent 5d910e24d2
commit 2d9da3a563
1 file changed
+2 -5
@@ -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. 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 {{< code-toggle >}}
#content/testimonials/_index.md
title: Testimonials title: Testimonials
# section build options:
_build: _build:
render: true render: true
# children build options with cascade
cascade: cascade:
_build: _build:
render: false render: false
list: true # default list: true # default
``` {{< /code-toggle >}}
```go-html-template ```go-html-template
{{/* layouts/_defaults/testimonials.html */}} {{/* layouts/_defaults/testimonials.html */}}