I’d like to create a blog using Hugo where the homepage will be a series of images, one per post, along with each post’s title and date. Title and date are fine as they’re part of the Post struct members (.Title .Date). I’d like to specify an image for the post using perhaps Image=url_to_image.jpg in the Post but I just get Image is not a field of struct type *hugolib.Page.
Is there a better way to add more metadata to a post’s hugo header block such that you can reference those custom fields from the homepage?
Or is it just a case of adding the actual image in the post immediately followed by a more tag?