Merge commit 'c239c643fee10bfa217cb108755b798f8f5f3b10'

This commit is contained in:
Bjørn Erik Pedersen
2021-05-01 11:45:45 +02:00
7 changed files with 20 additions and 19 deletions

View File

@@ -245,7 +245,7 @@ If the _map_, _array_, or _slice_ passed into the range is zero-length then the
### Conditionals
`if`, `else`, `with`, `or`, and `and` provide the framework for handling conditional logic in Go Templates. Like `range`, each statement is closed with an `{{ end }}`.
`if`, `else`, `with`, `or`, `and` and `not` provide the framework for handling conditional logic in Go Templates. Like `range`, `if` and `with` statements are closed with an `{{ end }}`.
Go Templates treat the following values as **false**: