aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/content/en/templates/introduction.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/templates/introduction.md')
-rw-r--r--docs/content/en/templates/introduction.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/en/templates/introduction.md b/docs/content/en/templates/introduction.md
index 0a3ff2b0f..e5650149a 100644
--- a/docs/content/en/templates/introduction.md
+++ b/docs/content/en/templates/introduction.md
@@ -199,11 +199,11 @@ Remember that the piped value becomes the final argument to the function or meth
You can split a template action over two or more lines. For example, these are equivalent:
```go-html-template
-{{ $v := or .Site.Language.LanguageName .Site.Language.Lang }}
+{{ $v := or $arg1 $arg2 }}
{{ $v := or
- .Site.Language.LanguageName
- .Site.Language.Lang
+ $arg1
+ $arg2
}}
```