Got an #eleventy question: I have a global data file that returns an array of images with a certain tag from Cloudinary.
I have:
• _data/photos.js (Cloudinary tag is here)
• gallery.njk (loops trough photos.js to make a grid/links)
• photo.njk (pagination and display of photos.js items)
What’s the approach if I want to use #11ty data to specify the tag in a Markdown file, then pass it off to the other files to generate the pages? Right now I’m limited to the tag specified in photos.js.