mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 02:16:09 +00:00
Update build-options.md
This commit is contained in:
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 */}}
|
||||||
|
|||||||
Reference in new issue
Block a user