mirror of
https://github.com/pantor/inja.git
synced 2026-03-21 00:15:58 +00:00
initial codebase
This commit is contained in:
11
test/data/nested.txt
Normal file
11
test/data/nested.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
^{% for x in x_array %}
|
||||
{% for y in y_array %}
|
||||
{{x}}-{{y}}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
json a;
|
||||
a["type"] = loop|condition|include
|
||||
a["command"] = x in x_array
|
||||
a["innerString"] = "..."
|
||||
a["children"] = []
|
||||
Reference in New Issue
Block a user