c5fce78f71
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
4 lines
155 B
C++
4 lines
155 B
C++
{%- import 'jinja-include03.j2.inc' as common with context -%}
|
|
{# make sure the variable "globalvar1" is available in a nested include #}
|
|
{{ globalvar1 }}
|