eleventy-img shortcode not working in a loop in a nested include #3851
-
Me again with another weird one! I’m using Eleventy 3.1.1 and Nunjucks. My problem involves three items:
The problem seems to happen somewhere in Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Is this an |
Beta Was this translation helpful? Give feedback.
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