Working with Images
letsblaze handles images with a custom render hook that adds <figure> and
<figcaption> support and automatic dimension detection for page-bundle images.
Page bundles
The recommended way to use images is as page bundles — store the image alongside the content file:
content/
blog/
working-with-images/
index.md ← this file
hero.jpg ← image in the same directoryThis is a leaf bundle. Hugo can read the image dimensions at build time and emit
width and height attributes automatically, preventing layout shift (CLS).