aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/content/en/functions/partials/IncludeCached.md
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-01-26 08:22:42 +0100
committerBjørn Erik Pedersen <[email protected]>2024-01-26 08:22:42 +0100
commit3758456b31695dd59ebe5eb35b19c1b054287a48 (patch)
treea6391bec1ee0247632cb5bf526175bb1defba804 /docs/content/en/functions/partials/IncludeCached.md
parentd0d2c6795e0870bf96d167700a475737a17ea005 (diff)
parent7125ad401ad043e46262afc7eca8dceb6d54bb9e (diff)
downloadhugo-3758456b31695dd59ebe5eb35b19c1b054287a48.tar.gz
hugo-3758456b31695dd59ebe5eb35b19c1b054287a48.zip
Merge commit '7125ad401ad043e46262afc7eca8dceb6d54bb9e'
Diffstat (limited to 'docs/content/en/functions/partials/IncludeCached.md')
-rw-r--r--docs/content/en/functions/partials/IncludeCached.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/en/functions/partials/IncludeCached.md b/docs/content/en/functions/partials/IncludeCached.md
index db275fa9e..66ef4a6ac 100644
--- a/docs/content/en/functions/partials/IncludeCached.md
+++ b/docs/content/en/functions/partials/IncludeCached.md
@@ -51,7 +51,7 @@ The variant arguments are not available to the underlying partial template; they
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 }}