Something that would work like this:
{% block A %}
{% set testVar = "foo" %}
{% endblock %}
...
{% block B %}
{{ testVar }}
{% endblock %}
The scope of testVar
seems limited to {% block A %}
I'm looking for a way around this, so that the child template can pass content to the parent to use in other blocks.
This is an issue since the child template that extends the parent cannot have content outside a defined block.