mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 12:14:49 +00:00
Mention not (#1432)
And be more precise about closing `{{ end }}` statement.
This commit is contained in:
1 parent
fb551cc750
commit
41d24297c7
1 file changed
+1
-1
@@ -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