mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-22 21:42:50 +02:00
Merge commit 'c239c643fee10bfa217cb108755b798f8f5f3b10'
This commit is contained in:
@@ -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**:
|
||||
|
||||
|
Reference in New Issue
Block a user