From 41d24297c798d9bcba2da81aa4ac3daa4a1dea9e Mon Sep 17 00:00:00 2001 From: Salim B Date: Wed, 28 Apr 2021 22:22:49 +0000 Subject: [PATCH] Mention `not` (#1432) And be more precise about closing `{{ end }}` statement. --- content/en/templates/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/templates/introduction.md b/content/en/templates/introduction.md index 43f88f147..17fa5475c 100644 --- a/content/en/templates/introduction.md +++ b/content/en/templates/introduction.md @@ -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**: