Using a variable in include


#1

I’m pretty sure this is valid in twig, but doesn’t seem to be in tera.

Is this correct?

{# this works #}
{{ page.extra.header }}

{# this doesn’t #}
{% include page.extra.header %}


#2

There is an issue for that in Tera: https://github.com/Keats/tera/issues/320