aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/content/en/functions/partials/Include.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/functions/partials/Include.md')
-rw-r--r--docs/content/en/functions/partials/Include.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/en/functions/partials/Include.md b/docs/content/en/functions/partials/Include.md
index 859f6665b..e08b32fd1 100644
--- a/docs/content/en/functions/partials/Include.md
+++ b/docs/content/en/functions/partials/Include.md
@@ -68,7 +68,7 @@ Then, within the partial template:
To return a value from a partial template, it must contain only one `return` statement, placed at the end of the template:
```go-html-template
-{{ $result := false }}
+{{ $result := "" }}
{{ if math.ModBool . 2 }}
{{ $result = "even" }}
{{ else }}