-
@m4d_z @eleven_ty My use case is for posts in nicolas-hoizey.photo/blog/ I want to show a "card" of a photo: title, image, some EXIF. Ideally, it would only need the slug: {% card('biohazard') %} But I don't know how to get
collections.photos
in the macro or shortcode, to get data. -
@m4d_z @eleven_ty I can write a shortcode, find the Markdown based on the slug and import it with gray-matter. But everything is already in the collection, with inherited cascading data, so using it directly would be better.