diff options
Diffstat (limited to 'docs/content/en/functions/go-template/else.md')
-rw-r--r-- | docs/content/en/functions/go-template/else.md | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/docs/content/en/functions/go-template/else.md b/docs/content/en/functions/go-template/else.md index 698998bd8..db3980070 100644 --- a/docs/content/en/functions/go-template/else.md +++ b/docs/content/en/functions/go-template/else.md @@ -3,15 +3,11 @@ title: else description: Begins an alternate block for if, with, and range statements. categories: [] keywords: [] -action: - aliases: [] - related: - - functions/go-template/if - - functions/go-template/range - - functions/go-template/with - - functions/go-template/end - returnType: - signatures: [else VALUE] +params: + functions_and_methods: + aliases: [] + returnType: + signatures: [else VALUE] --- Use with the [`if`] statement: @@ -62,7 +58,7 @@ Use `else if` to check multiple conditions. {{ end }} ``` -{{% include "functions/go-template/_common/text-template.md" %}} +{{% include "/_common/functions/go-template/text-template.md" %}} [`if`]: /functions/go-template/if/ [`with`]: /functions/go-template/with/ |