
Don't only try to find undeclared variables from the current template but also recursively find undeclared variables from included and imported jinja2 templates. Otherwise included/imported templates with variables can not be used. Change-Id: Iebdce1accf74f27901d80a41c85624ba819bf2a8
3 lines
92 B
PHP
3 lines
92 B
PHP
{# make sure the variable "globalvar1" is available in a nested include #}
|
|
{{ globalvar1 }}
|