diff options
Diffstat (limited to 'docs/content/en/functions/go-template/continue.md')
-rw-r--r-- | docs/content/en/functions/go-template/continue.md | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/docs/content/en/functions/go-template/continue.md b/docs/content/en/functions/go-template/continue.md deleted file mode 100644 index c8030b8b7..000000000 --- a/docs/content/en/functions/go-template/continue.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: continue -description: Used with the range statement, stops the innermost iteration and continues to the next iteration. -categories: [] -keywords: [] -action: - aliases: [] - related: - - functions/go-template/break - - functions/go-template/range - returnType: - signatures: [continue] ---- - -This template code: - -```go-html-template -{{ $s := slice "foo" "bar" "baz" }} -{{ range $s }} - {{ if eq . "bar" }} - {{ continue }} - {{ end }} - <p>{{ . }}</p> -{{ end }} -``` - -Is rendered to: - -```html -<p>foo</p> -<p>baz</p> -``` - -{{% include "functions/go-template/_common/text-template.md" %}} |