How can I access image resource in list.
I’d like to have resource and specify one image to be poster. And that image poster I’d like to shop in list with specific width&height as I do in single post.
How can I do this?
How can I access image resource in list.
I’d like to have resource and specify one image to be poster. And that image poster I’d like to shop in list with specific width&height as I do in single post.
How can I do this?
You want to pluck a single image out a of a list of Page Resources. Without your code the approach taken may vary. Does anything in the following article help you achieve what you’re looking to do?
See this header_image
partial as example.
list.html
layout.hugo-sandbox
test site repo for full source.