<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Pages on homelab</title>
    <link>https://homelab.nbkelley.com/tags/pages/</link>
    <description>Recent content in Pages on homelab</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Fri, 01 May 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://homelab.nbkelley.com/tags/pages/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Hugo Deployment to Cloudflare Pages - Troubleshooting</title>
      <link>https://homelab.nbkelley.com/docs/services/hugo-cloudflare-pages/</link>
      <pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate>
      <guid>https://homelab.nbkelley.com/docs/services/hugo-cloudflare-pages/</guid>
      <description>&lt;h1 id=&#34;hugo-deployment-to-cloudflare-pages---troubleshooting&#34;&gt;Hugo Deployment to Cloudflare Pages - Troubleshooting&lt;a class=&#34;anchor&#34; href=&#34;#hugo-deployment-to-cloudflare-pages---troubleshooting&#34;&gt;#&lt;/a&gt;&lt;/h1&gt;&#xA;&lt;h2 id=&#34;what-was-established&#34;&gt;What Was Established&lt;a class=&#34;anchor&#34; href=&#34;#what-was-established&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;Patterns for resolving missing assets (favicons, CSS, styling) and build failures when deploying Hugo-generated static sites to Cloudflare Pages.&lt;/p&gt;&#xA;&lt;h2 id=&#34;key-decisions&#34;&gt;Key Decisions&lt;a class=&#34;anchor&#34; href=&#34;#key-decisions&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Build Configuration&lt;/strong&gt;: Set build command to &lt;code&gt;hugo&lt;/code&gt;, output directory to &lt;code&gt;public&lt;/code&gt;, and explicitly match the local Hugo version in Cloudflare Pages settings.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Static Asset Placement&lt;/strong&gt;: Ensure all static files (e.g., &lt;code&gt;favicon.ico&lt;/code&gt;, CSS) reside in the &lt;code&gt;static/&lt;/code&gt; directory root or theme-specific static folders.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Rebuild Enforcement&lt;/strong&gt;: Use &lt;code&gt;hugo --cleanDestinationDir&lt;/code&gt; or manually remove the &lt;code&gt;public/&lt;/code&gt; directory to force Hugo to regenerate all assets and detect changes.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Cache Management&lt;/strong&gt;: Clear both Cloudflare Pages deployment cache and browser cache to prevent stale asset delivery.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Verification Workflow&lt;/strong&gt;: Validate locally via &lt;code&gt;hugo server&lt;/code&gt;, inspect the generated &lt;code&gt;public/&lt;/code&gt; directory, review Cloudflare deployment logs, and confirm full Git commits.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;current-configuration&#34;&gt;Current Configuration&lt;a class=&#34;anchor&#34; href=&#34;#current-configuration&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Build Command&lt;/strong&gt;: &lt;code&gt;hugo&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Output Directory&lt;/strong&gt;: &lt;code&gt;public&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Static Directory&lt;/strong&gt;: &lt;code&gt;static/&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Config File&lt;/strong&gt;: &lt;code&gt;config.toml&lt;/code&gt; / &lt;code&gt;config.yaml&lt;/code&gt; (verify &lt;code&gt;baseURL&lt;/code&gt; matches target domain)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;obsidian-integration-for-hugo-date-format&#34;&gt;Obsidian Integration for Hugo Date Format&lt;a class=&#34;anchor&#34; href=&#34;#obsidian-integration-for-hugo-date-format&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;Hugo expects ISO 8601 dates with timezone offset: &lt;code&gt;2025-11-22T23:11:12-05:00&lt;/code&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
