Something that wasn’t entirely clear to me as I set up this blog with Hugo was the best way to organize blog entries so that they can have images or other content in them. Page Bundles are a good way to do this. They allow you to put content together in a folder to create a single page. I decided to follow a date-based numbering scheme for my posts (I’m not sure if this is the best, but that way, I don’t have to think about it much, I just pick the next number) so to create a new page bundle, the command looked like:

rob@ub01:~/myblog$ hugo new posts/2020/09/14/index.md
/home/rob/myblog/content/posts/2020/09/15/index.md created

That created the directory for the leaf bundle and the index.md file. I copied a picture of my Aussie into the folder and then created an image in link in markdown:

![](/IMG_0208.jpg)

There might be a better way to produce a processed image (e.g. resized) but this is good enough for now. This is how it shows up:

hugo