martenframework/marten

Variables can not be passed via `with` keyword when `isolated_inclusions = true`

notramo opened this issue · 1 comments

{% assign text="Email" %}
{% include "components/input.html" with label=text %}

The above snippet throws an error.
Config:

  config.templates.strict_variables = true
  config.templates.isolated_inclusions = true

Thanks for reporting this! 🙏
Fixed in 37e65c8.