<?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>Cover Card - Pocket Hugo</title>
    <link>https://theme.leftn.com/tags/cover-card/</link>
    <description>Cover Card</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/cover-card/index.xml" rel="self" type="application/rss+xml" />
    <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>
  </channel>
</rss>
