Login

Vectors

Vector: var

The var vector is the same as a variable in any programming language.

To set a variable's value, use the following vector:
{{ var: variable_name = some value }}

To retrieve the variable's value, use:
{{ var: variable_name }}

If a variable hasn't been defined yet, the empty string is returned. Variables span embedded pages when the include vector is used.