<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Page-Bundles on letsblaze</title><link>https://letsblaze.thomaslaurenson.com/tags/page-bundles/</link><description>Recent content in Page-Bundles on letsblaze</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 07 Apr 2026 15:31:33 +1200</lastBuildDate><atom:link href="https://letsblaze.thomaslaurenson.com/tags/page-bundles/index.xml" rel="self" type="application/rss+xml"/><item><title>Working with Images</title><link>https://letsblaze.thomaslaurenson.com/blog/working-with-images/</link><pubDate>Sun, 15 Feb 2026 00:00:00 +0000</pubDate><guid>https://letsblaze.thomaslaurenson.com/blog/working-with-images/</guid><description>&lt;p&gt;letsblaze handles images with a custom render hook that adds &lt;code&gt;&amp;lt;figure&amp;gt;&lt;/code&gt; and
&lt;code&gt;&amp;lt;figcaption&amp;gt;&lt;/code&gt; support and automatic dimension detection for page-bundle images.&lt;/p&gt;
&lt;h2 id="page-bundles"&gt;Page bundles&lt;/h2&gt;
&lt;p&gt;The recommended way to use images is as page bundles — store the image alongside
the content file:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;content/
 blog/
 working-with-images/
 index.md ← this file
 hero.jpg ← image in the same directory&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This is a leaf bundle. Hugo can read the image dimensions at build time and emit
&lt;code&gt;width&lt;/code&gt; and &lt;code&gt;height&lt;/code&gt; attributes automatically, preventing layout shift (CLS).&lt;/p&gt;</description></item></channel></rss>