Skip to content

eleventy-img shortcode not working in a loop in a nested include #3851

Answered by zachleat
robweychert asked this question in Q&A
Discussion options

You must be logged in to vote

Is this an async thing? (the image optimization stuff is async by default) If you’re trying to iterate over asynchronous stuff, you need asyncEach in Nunjucks: https://mozilla.github.io/nunjucks/templating.html#asynceach

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@robweychert
Comment options

@zachleat
Comment options

Answer selected by robweychert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants