<?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/"
  xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Theme - Pocket Hugo</title>
    <link>https://theme.leftn.com/tags/theme/</link>
    <description>Theme</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Mon, 20 Apr 2026 02:51:39 &#43;0000</lastBuildDate>
    <atom:link href="https://theme.leftn.com/tags/theme/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>i18n MultiLanguage Configuration Reference</title>
      <link>https://theme.leftn.com/article/i18n-multilanguage-config/</link>
      <pubDate>Thu, 05 Mar 2026 01:00:00 &#43;0000</pubDate>
      <guid>https://theme.leftn.com/article/i18n-multilanguage-config/</guid>
      <description>A field-by-field guide to the i18n MultiLanguage Hugo configuration used by Pocket Hugo Theme.</description>
      <content:encoded><![CDATA[<p>The Pocket Hugo theme supports multilingual usage. Two languages ​​are enabled by default; if you do not require them, you can simply remove the unwanted languages ​​within the <code>hugo.toml</code> file.</p>
<h2 id="set-preferred-language">Set Preferred Language</h2>
<p>Pocket Hugo theme natively supports over 10 language settings, including English, Chinese, Japanese, French, Spanish, Russian, German, Korean, Portuguese, Italian, and more. You can specify a preferred language in <code>hugo.toml</code>; this preferred language typically corresponds directly to the <code>index.md</code> file within the content directory.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="cl"><span class="nx">languageCode</span> <span class="p">=</span> <span class="s2">&#34;en&#34;</span>
</span></span><span class="line"><span class="cl"><span class="nx">defaultContentLanguage</span> <span class="p">=</span> <span class="s2">&#34;en&#34;</span></span></span></code></pre></div><p>If you require a different site name and title for each language, you can configure them individually in <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">languages</span><span class="p">.</span><span class="nx">en</span><span class="p">]</span>
</span></span><span class="line"><span class="cl">  <span class="nx">languageName</span> <span class="p">=</span> <span class="s2">&#34;English&#34;</span>
</span></span><span class="line"><span class="cl">  <span class="nx">title</span> <span class="p">=</span> <span class="s2">&#34;Pocket Hugo&#34;</span>
</span></span><span class="line"><span class="cl">  <span class="nx">weight</span> <span class="p">=</span> <span class="mi">1</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="p">[</span><span class="nx">languages</span><span class="p">.</span><span class="nx">en</span><span class="p">.</span><span class="nx">params</span><span class="p">.</span><span class="nx">sidebar</span><span class="p">]</span>
</span></span><span class="line"><span class="cl">  <span class="nx">subtitle</span> <span class="p">=</span> <span class="s2">&#34;A cover-driven theme for long-term personal writing&#34;</span></span></span></code></pre></div><h2 id="language-switching-settings">Language Switching Settings</h2>
<p>If you configure two languages, you can switch between them with a single click using a button located in the website header and below the in-text table of contents. If you configure three or more languages, a dropdown menu will be enabled by default in the website header.</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">params</span><span class="p">.</span><span class="nx">languageSwitcher</span><span class="p">]</span>
</span></span><span class="line"><span class="cl">    <span class="nx">headerSelectThreshold</span> <span class="p">=</span> <span class="mi">3</span></span></span></code></pre></div><ul>
<li><a href="/article/responsive-image-pipeline/">Responsive Image Pipeline Demo</a>
</li>
<li><a href="/article/shortcodes-demo/">Shortcodes Demo</a>
</li>
</ul>
]]></content:encoded>
    </item>
    <item>
      <title>Title Card Guide</title>
      <link>https://theme.leftn.com/article/title-card-guide/</link>
      <pubDate>Mon, 09 Feb 2026 00:30:00 &#43;0000</pubDate>
      <guid>https://theme.leftn.com/article/title-card-guide/</guid>
      <description>A practical guide for using fallback title cards in Pocket Hugo Theme, including front matter setup and all 16 presets.</description>
      <content:encoded><![CDATA[<p>Pocket Hugo Theme can turn a missing cover image into a generated <strong>title card</strong>.</p>
<h2 id="what-this-feature-is-for">What this feature is for</h2>
<p>Use a title card when you want the article to look complete in lists and single pages, but you do not want to prepare a real image file for every post.</p>
<p>That is especially useful for:</p>
<ul>
<li>notes and short essays</li>
<li>documentation pages</li>
<li>multilingual pages that should share a consistent visual rhythm</li>
<li>sections where text-first cards feel more natural than photo covers</li>
</ul>
<h2 id="quick-start">Quick start</h2>
<div class="shortcode-note shortcode-note--info"><div class="shortcode-note__title">Zero config works too</div><div class="shortcode-note__body">
    If you do nothing, the theme can still generate a fallback title card automatically when the site-level cover settings are enabled.
  </div>
</div>

<p>In front matter, the simplest form is just one letter:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">coverCard</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;a&#34;</span></span></span></code></pre></div><p>Rules:</p>
<ul>
<li><code>a</code> to <code>h</code>: the 8 light presets</li>
<li><code>A</code> to <code>H</code>: the 8 dark presets</li>
<li>any other value: falls back to an automatic random preset</li>
</ul>
<p>If you set <code>coverCard</code>, the theme will use the generated title card and stop using <code>image</code>.</p>
<h2 id="hide-the-repeated-list-title">Hide the repeated list title</h2>
<p>If you only want the title to appear inside the card on homepage, taxonomy, archive, and other list-style pages, add:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">listTitle</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span></span></span></code></pre></div><p>That will hide the repeated title in list cards. On single pages, if the page is using a generated title card, it will also hide the separate title block there.</p>
<p>If you want to change this site-wide, use <code>params.article.listTitle = false</code> in <code>hugo.toml</code>. That site-level switch only affects generated gradient cards in list pages, not normal image covers.</p>
<h2 id="example-front-matter">Example front matter</h2>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">title</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;My Article&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="nt">date</span><span class="p">:</span><span class="w"> </span><span class="ld">2026-02-09T08:30:00</span><span class="m">+08</span><span class="p">:</span><span class="m">00</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="nt">slug</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;my-article&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="nt">coverCard</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;C&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="nt">listTitle</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span></span></span></code></pre></div><h2 id="all-16-presets">All 16 presets</h2>
<p>The presets below follow the built-in order used by the theme.</p>


<div class="title-card-showcase">
    <div class="title-card-showcase__grid">
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="golden-summer-fields" data-cover-tone="light">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Golden Summer Fields</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>a</code> Golden Summer Fields</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="golden-summer-fields" data-cover-tone="dark">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Golden Summer Fields Dark</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>A</code> Golden Summer Fields Dark</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="soft-pastel-shades" data-cover-tone="light">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Soft Pastel Shades</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>b</code> Soft Pastel Shades</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="soft-pastel-shades" data-cover-tone="dark">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Soft Pastel Shades Dark</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>B</code> Soft Pastel Shades Dark</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="black-gold-elegance" data-cover-tone="light">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Black Gold Elegance</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>c</code> Black Gold Elegance</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="black-gold-elegance" data-cover-tone="dark">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Black Gold Elegance Dark</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>C</code> Black Gold Elegance Dark</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="morandi-mist" data-cover-tone="light">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Morandi Mist</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>d</code> Morandi Mist</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="morandi-mist" data-cover-tone="dark">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Morandi Mist Dark</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>D</code> Morandi Mist Dark</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="fresh-greens" data-cover-tone="light">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Fresh Greens</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>e</code> Fresh Greens</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="fresh-greens" data-cover-tone="dark">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Fresh Greens Dark</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>E</code> Fresh Greens Dark</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="light-steel" data-cover-tone="light">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Light Steel</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>f</code> Light Steel</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="light-steel" data-cover-tone="dark">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Light Steel Dark</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>F</code> Light Steel Dark</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="deep-sea-blue" data-cover-tone="light">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Deep Sea Blue</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>g</code> Deep Sea Blue</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="deep-sea-blue" data-cover-tone="dark">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Deep Sea Blue Dark</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>G</code> Deep Sea Blue Dark</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="monochrome-core" data-cover-tone="light">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Monochrome Core</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>h</code> Monochrome Core</figcaption>
            </figure>
        
            <figure class="title-card-showcase__item">
                <div class="cover-fallback cover-fallback--card" data-cover-palette="monochrome-core" data-cover-tone="dark">
                    <div class="cover-fallback__inner">
                        <p class="cover-fallback__title">Monochrome Core Dark</p>
                    </div>
                </div>
                <figcaption class="title-card-showcase__caption"><code>H</code> Monochrome Core Dark</figcaption>
            </figure>
        
    </div>
</div>

<h2 id="when-to-use-which-preset">When to use which preset</h2>
<ul>
<li><code>a</code> / <code>A</code>: warm and editorial, good for essays and personal writing</li>
<li><code>b</code> / <code>B</code>: softer and more friendly, useful for tutorials or documentation</li>
<li><code>c</code> / <code>C</code>: stronger contrast, good for product or release notes</li>
<li><code>d</code> / <code>D</code>: muted and calm, fits archive-like or reflective writing</li>
<li><code>e</code> / <code>E</code>: lively and fresh, useful for tools, workflow, and updates</li>
<li><code>f</code> / <code>F</code>: neutral and restrained, good for technical references</li>
<li><code>g</code> / <code>G</code>: clearer and more digital, useful for software and platform topics</li>
<li><code>h</code> / <code>H</code>: monochrome and minimal, good for terse notes or index pages</li>
</ul>
<h2 id="default-behavior">Default behavior</h2>
<p>If the page does not define <code>coverCard</code>, the theme falls back to the site-level cover rules in <code>hugo.toml</code>.</p>
<p>That means a user can also do nothing at all and still get a generated title card by default. When the theme fallback is set to gradient mode, the card preset is assigned automatically.</p>
<p>That means you can combine both strategies:</p>
<ul>
<li>use a global fallback mode for ordinary posts</li>
<li>set <code>coverCard</code> only on the pages where you want a specific preset</li>
</ul>
<h2 id="one-practical-recommendation">One practical recommendation</h2>
<p>Start with the automatic fallback for the site, then manually assign letters only to pages that you want to feel more deliberate. That keeps authoring fast while still giving important pages a distinct look.</p>]]></content:encoded>
    </item>
    <item>
      <title>Pocket Hugo Theme</title>
      <link>https://theme.leftn.com/projects/pocket-hugo-theme/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 &#43;0000</pubDate>
      <guid>https://theme.leftn.com/projects/pocket-hugo-theme/</guid>
      <description>A Hugo theme for multilingual writing, cover-driven presentation, and long-form reading.</description>
      <content:encoded><![CDATA[<div class="shortcode-note shortcode-note--tip"><div class="shortcode-note__title">Theme direction</div><div class="shortcode-note__body">
    Pocket Hugo Theme is a Hugo theme designed for multilingual writing, long-form reading, and cover-driven presentation. Its priority is not feature overload, but rhythm, consistency, and maintainability over time.
  </div>
</div>

<p><span class="shortcode-badge shortcode-badge--default">Multilingual</span>
 <span class="shortcode-badge shortcode-badge--info">Long-form reading</span>
 <span class="shortcode-badge shortcode-badge--info">Cover-driven</span>
</p>
<a class="shortcode-button shortcode-button--primary" href="https://github.com/h2dcc/pocket-hugo-theme">View on GitHub</a>

<h2 id="what-the-theme-cares-about">What the theme cares about</h2>
<p>Many themes look fine when a site is small, but start to drift once the content grows: article pages and fixed pages feel unrelated, language switching becomes awkward, cover cards lose consistency, and mobile reading gets cramped. Pocket Hugo Theme tries to keep those details coherent.</p>
<h2 id="best-fit">Best fit</h2>
<div class="shortcode-columns">
  
<div class="shortcode-columns__item shortcode-columns__item--1">
  <h3 id="better-for">Better for</h3>
<ul>
<li>personal blogs and long-term writing sites</li>
<li>sites with bilingual or multilingual content</li>
<li>writers who care about list pages, covers, and reading order</li>
</ul>

</div>

<div class="shortcode-columns__item shortcode-columns__item--1">
  <h3 id="not-chasing">Not chasing</h3>
<ul>
<li>dashboard-like component aesthetics</li>
<li>flashy interaction for its own sake</li>
<li>visual tricks that hurt reading comfort</li>
</ul>

</div>


</div>

<h2 id="theme-rhythm">Theme rhythm</h2>
<div class="shortcode-timeline">
  
<div class="shortcode-timeline__item">
  <div class="shortcode-timeline__rail"></div>
  <div class="shortcode-timeline__content">
    <div class="shortcode-timeline__date">Layer 1</div>
    <div class="shortcode-timeline__title">Content structure</div>
    <div class="shortcode-timeline__body">Keep homepage, articles, archives, taxonomies, and fixed pages speaking the same language.</div>
  </div>
</div>

<div class="shortcode-timeline__item">
  <div class="shortcode-timeline__rail"></div>
  <div class="shortcode-timeline__content">
    <div class="shortcode-timeline__date">Layer 2</div>
    <div class="shortcode-timeline__title">Reading experience</div>
    <div class="shortcode-timeline__body">Focus on covers, typography, language switching, and long-form pacing.</div>
  </div>
</div>

<div class="shortcode-timeline__item">
  <div class="shortcode-timeline__rail"></div>
  <div class="shortcode-timeline__content">
    <div class="shortcode-timeline__date">Layer 3</div>
    <div class="shortcode-timeline__title">Long-term maintenance</div>
    <div class="shortcode-timeline__body">Keep configuration and behavior clear enough that the site stays usable as it grows.</div>
  </div>
</div>


</div>

<h2 id="why-it-fits-this-demo">Why it fits this demo</h2>
<p>This example shows the theme describing itself without turning into documentation-only copy. The page still reads like a project profile rather than a config reference.</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
