ginger
ginger copied to clipboard
Expressions in include statements for recursive templates?
Supposing that I have a context with a templatePath field, have we any way to call include on the path stored therewithin?
Both
{% include "{{ object._templatePath }}" %}
and
{% set temp = object._templatePath %}
{% include temp %}
yield parser errors.
Am I missing something obvious?