Open Bauxitedev opened 2 years ago
Quick question, does tera support nested arrays?
Because making a normal array works fine:
{% set items = [1,2,3,4] %}
...but when I try to create a nested array:
{% set items = [[1,2],[3,4]] %}
...I get this error:
* Failed to parse "templates/base.html.tera" --> 158:20 | 158 | {% set items= [[1,2],[3,4]] %}␍␊ | ^--- | = expected a value that can be negated
Not in the current version no
Is there any plan to add support for this?
Quick question, does tera support nested arrays?
Because making a normal array works fine:
...but when I try to create a nested array:
...I get this error: