This PR allows to use variables values for subscripting properties of another variables, i.e. given context ["keys": ["one", "two", "three"], "dict": ["one": "I", "two": "II", "three": "III"]] following template will print "I II III".
{% for key in keys %}
{{ dict.key }}
{% endfor %}
The same applies for index dictionaries and properties
This can be useful for ordered dictionary iteration and adds more dynamism to the templates.
This PR allows to use variables values for subscripting properties of another variables, i.e. given context
["keys": ["one", "two", "three"], "dict": ["one": "I", "two": "II", "three": "III"]]
following template will print "I II III".The same applies for index dictionaries and properties This can be useful for ordered dictionary iteration and adds more dynamism to the templates.