Hi there,
I’m new to Hugo and really enjoying it so far, although I have much to learn!
I’ve copied the default Anake list/summary html files into my layouts folder in order to customise them and that’s all working fine.
As you can see in the screenshot I’ve used if statements in order to specify the image I want to use rather than the featured image, as is the default behviour of the Anake theme.
This is all works fine but I’m sure there’s a better way! Ideally there would be an additional parameter in the posts front matter that I could use where I can specify a second image path. Then all I would need to do is refer to this parameter in my summary.html with no need for if statements. Is there a way to do this?

