{{ block "CONFIG" .}}
{{ setvar "var1" "foo"}}
{{end}}
The first parameter of setvar is the variable name (var1), the second the value (foo).
{{ block "CONFIG" .}}
{{ setarray "array1" "hi" "hello" "ciao" "servus"}}
{{end}}
The first parameter of setarray is the array name (array1), all others values (hi, hello, ciao, servus).