<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Victory on Frank&#39;s Blog</title>
    <link>https://frankblogs.com/tags/victory/</link>
    <description>Recent content in Victory on Frank&#39;s Blog</description>
    <generator>Hugo -- 0.150.0</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 14 Sep 2025 21:12:48 +0800</lastBuildDate>
    <atom:link href="https://frankblogs.com/tags/victory/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>The About Page Is Back</title>
      <link>https://frankblogs.com/posts/the-about-page-is-back/</link>
      <pubDate>Sun, 14 Sep 2025 21:12:48 +0800</pubDate>
      <guid>https://frankblogs.com/posts/the-about-page-is-back/</guid>
      <description>&lt;p&gt;In my last post, I declared that I had killed my &amp;ldquo;About&amp;rdquo; page. It was a pragmatic decision. The page was a ghost: it rendered as raw HTML, all its links pointed to &lt;code&gt;localhost:1313&lt;/code&gt;, and it pulled in a phantom Chinese site title that didn&amp;rsquo;t exist in my configuration.&lt;/p&gt;
&lt;p&gt;Then, immediately after publishing that post, I discovered my &amp;ldquo;Tags&amp;rdquo; page was broken in the exact same way.&lt;/p&gt;
&lt;p&gt;When I clicked the &amp;ldquo;Tags&amp;rdquo; link in my (perfectly functional) menu, it loaded a page that &lt;em&gt;also&lt;/em&gt; had no CSS and contained only a giant &amp;ldquo;#Tags&amp;rdquo; title, with no actual tags listed—even though my post was correctly tagged and published.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>In my last post, I declared that I had killed my &ldquo;About&rdquo; page. It was a pragmatic decision. The page was a ghost: it rendered as raw HTML, all its links pointed to <code>localhost:1313</code>, and it pulled in a phantom Chinese site title that didn&rsquo;t exist in my configuration.</p>
<p>Then, immediately after publishing that post, I discovered my &ldquo;Tags&rdquo; page was broken in the exact same way.</p>
<p>When I clicked the &ldquo;Tags&rdquo; link in my (perfectly functional) menu, it loaded a page that <em>also</em> had no CSS and contained only a giant &ldquo;#Tags&rdquo; title, with no actual tags listed—even though my post was correctly tagged and published.</p>
<p>This was the final, definitive clue.</p>
<h2 id="the-unified-bug-theory">The Unified Bug Theory</h2>
<p>This confirmed the problem wasn&rsquo;t a series of isolated glitches. It was one, single, catastrophic bug. My chosen theme, <code>hugo-paper</code>, had a fatal flaw.</p>
<p>Its &ldquo;list&rdquo; templates (like the homepage) worked perfectly.
But its &ldquo;single&rdquo; template (for the About page) and its &ldquo;terms&rdquo; template (for the Tags page) were both fundamentally broken. They contained code that, for some reason, failed only in the Cloudflare Pages production environment, defaulting all asset paths to <code>localhost</code>.</p>
<p>My local build (<code>hugo server -D</code>) worked perfectly, which had masked this problem for days and led me down a debugging rabbit hole of config files, environment variables, and build flags. None of those fixes worked, because the theme&rsquo;s engine itself was defective.</p>
<h2 id="the-theme-transplant">The Theme Transplant</h2>
<p>The solution was obvious. You don&rsquo;t fix a broken engine; you replace it.</p>
<p>I decided to perform a &ldquo;theme transplant.&rdquo; I ripped out <code>hugo-paper</code> completely. This involved:</p>
<ol>
<li>Running <code>git submodule deinit</code> and <code>git rm</code> to purge the old theme from my project.</li>
<li>Choosing a new, robust, and extremely popular theme: <strong>hugo-PaperMod</strong>.</li>
<li>Adding it as a new submodule: <code>git submodule add ... themes/PaperMod</code>.</li>
</ol>
<p>Of course, this came with its own final hurdles. My brand new Hugo version (v0.150.0) immediately threw an error because the new theme&rsquo;s config used a deprecated <code>paginate</code> key. After fixing that (it&rsquo;s now <code>[pagination].pagerSize</code>), the Tags page <em>still</em> showed up empty.</p>
<p>One final search revealed the truth: in our quest to create a &ldquo;clean&rdquo; config, we had removed the block that <em>activates</em> taxonomies. The final piece of the puzzle was adding this back to <code>hugo.toml</code>:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="p">[</span><span class="nx">taxonomies</span><span class="p">]</span>
</span></span><span class="line"><span class="cl">  <span class="nx">tag</span> <span class="p">=</span> <span class="s2">&#34;tags&#34;</span>
</span></span><span class="line"><span class="cl">  <span class="nx">category</span> <span class="p">=</span> <span class="s2">&#34;categories&#34;</span>
</span></span></code></pre></div>]]></content:encoded>
    </item>
  </channel>
</rss>
