Skip to content

Commit d878209

Browse files
committed
mention that globals are across all templates
1 parent 67f9de8 commit d878209

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/templates/variables.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ A local value will always shadow a global value with the same name, and `with` /
1010

1111
## Global
1212

13-
Globals are defined using the `global` keyword: `global <ident> = <expression>`.
13+
Globals are defined using the `global` keyword: `global <ident> = <expression>`
14+
and they are global across **all** templates.
1415

1516
Once a global is defined it can not be re-defined.
1617
Trying to define a global twice will result in an error.

0 commit comments

Comments
 (0)