My first try to post a photo in Hugo/PaperMod.

image USB soldering iron takeover by a shield bug of Elasmostethus genus (likely Elasmostethus interstinctus) :)

Okay, now to the technical.

Basically I had to learn about Page bundles to figure out if it is possible in Hugo to store a post and its assets (e. g. images) in as single dedicated folder.

Also I’ve added the following stuff to the front matter to make the photo to be previewed in the posts feed:

cover:
    image: DSC_5118_1.JPG
    hiddenInSingle: true

Setting hiddenInSingle prevents from photo being duplicated when viewing the full post. The full size version is inserted in a regular Markdown way: ![image](DSC_5118_1.JPG).

When Hugo environment set to production it conveniently generates all the image sizes needed for responsive preview with reduced traffic footprint.