<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Docker on JM's Site</title><link>/tags/docker/</link><description>Recent content in Docker on JM's Site</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 23 Apr 2026 23:43:10 +0000</lastBuildDate><atom:link href="/tags/docker/index.xml" rel="self" type="application/rss+xml"/><item><title>Setting Up Hugo with Docker</title><link>/software/hugo-setup/</link><pubDate>Wed, 01 Apr 2026 00:00:00 +0000</pubDate><guid>/software/hugo-setup/</guid><description>&lt;p&gt;This article is a &lt;strong&gt;page bundle&lt;/strong&gt; (leaf bundle). Notice it lives at
&lt;code&gt;software/hugo-setup/index.md&lt;/code&gt; — not &lt;code&gt;hugo-setup.md&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="what-makes-this-a-page-bundle"&gt;What makes this a page bundle?&lt;/h2&gt;
&lt;p&gt;The directory structure looks like this:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;content/software/hugo-setup/
├── index.md ← this file (the page content)
├── architecture.svg ← co-located resource (image)
└── notes.txt ← co-located resource (data)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Everything in this folder &lt;strong&gt;belongs to this page&lt;/strong&gt;. Hugo treats the sibling
files as &lt;em&gt;page resources&lt;/em&gt; accessible via &lt;code&gt;.Resources&lt;/code&gt; in templates.&lt;/p&gt;
&lt;h2 id="why-use-bundles"&gt;Why use bundles?&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Co-location&lt;/strong&gt;: images and files live next to the article that uses them,
not in a global &lt;code&gt;static/&lt;/code&gt; folder.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Resource processing&lt;/strong&gt;: Hugo can resize, crop, and fingerprint bundled
images at build time.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Portability&lt;/strong&gt;: move or delete the folder and everything travels together.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="using-a-bundled-image"&gt;Using a bundled image&lt;/h2&gt;
&lt;p&gt;In a template you&amp;rsquo;d access it with:&lt;/p&gt;</description></item></channel></rss>