Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name of root object in for loop #234

Open
oe1rsa opened this issue Mar 3, 2022 · 1 comment
Open

Name of root object in for loop #234

oe1rsa opened this issue Mar 3, 2022 · 1 comment

Comments

@oe1rsa
Copy link

oe1rsa commented Mar 3, 2022

I have a list of items (could be objects as well) in the json data file.

[
    "item1", "item2","item3"
]

Now when trying to use them in a loop like

## for item in <what goes here?>
{{ item }}
## endfor

what is the name of the root object?

@drizzle042
Copy link

@kubo this causes a SegFault

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants