diff options
Diffstat (limited to 'docs/content/syntax.md')
| -rw-r--r-- | docs/content/syntax.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/syntax.md b/docs/content/syntax.md index 35f4c82e..277503f5 100644 --- a/docs/content/syntax.md +++ b/docs/content/syntax.md @@ -32,7 +32,7 @@ is rendered. By default, every line containing an action will render a newline. For example, the action block below: ``` -{{ range slice "Foo" "bar" "baz" }} +{{ range coll.Slice "Foo" "bar" "baz" }} Hello, {{ . }}! {{ end }} ``` @@ -60,7 +60,7 @@ Here are a few examples. ### Suppressing leading newlines ``` -{{- range slice "Foo" "bar" "baz" }} +{{- range coll.Slice "Foo" "bar" "baz" }} Hello, {{ . }}! {{- end }} ``` @@ -79,7 +79,7 @@ Hello, baz! This code: ``` -{{ range slice "Foo" "bar" "baz" -}} +{{ range coll.Slice "Foo" "bar" "baz" -}} Hello, {{ . }}! {{ end -}} ``` @@ -97,7 +97,7 @@ Hello, baz! This code: ``` -{{- range slice "Foo" "bar" "baz" -}} +{{- range coll.Slice "Foo" "bar" "baz" -}} Hello, {{ . }}! {{- end -}} ``` |
