<?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>Hugo on Rurigani Diary</title>
    <link>https://rurigani.com/en/tags/hugo/</link>
    <description>Recent content in Hugo on Rurigani Diary</description>
    <image>
      <title>Rurigani Diary</title>
      <url>https://rurigani.com/images/default-cover.jpg</url>
      <link>https://rurigani.com/images/default-cover.jpg</link>
    </image>
    <generator>Hugo</generator>
    <language>en-US</language>
    <lastBuildDate>Mon, 13 Jul 2026 23:40:42 +0900</lastBuildDate>
    <atom:link href="https://rurigani.com/en/tags/hugo/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to Reduce Font Size on Mobile in Hugo PaperMod</title>
      <link>https://rurigani.com/en/2026/07/13/hugo-papermod-mobile-font-size/</link>
      <pubDate>Mon, 13 Jul 2026 22:00:00 +0900</pubDate>
      <atom:updated>Mon, 13 Jul 2026 23:40:42 +0900</atom:updated>
      <guid>https://rurigani.com/en/2026/07/13/hugo-papermod-mobile-font-size/</guid>
      <description>&lt;p&gt;Hugo&amp;rsquo;s PaperMod theme uses text that is too large on smartphones by default, so I adjust it with custom CSS.&lt;/p&gt;
&lt;p&gt;Reference: &lt;a href=&#34;https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#bundling-custom-css-with-themes-assets&#34;&gt;Bundling Custom css with theme&amp;rsquo;s assets | FAQs · adityatelange/hugo-PaperMod Wiki&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;environment&#34;&gt;Environment&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Windows 11 / Git Bash&lt;/li&gt;
&lt;li&gt;Hugo v0.164.0 (this method also works with the standard build)&lt;/li&gt;
&lt;li&gt;PaperMod v8.0 (pulled in through the latest commit at the time)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ hugo version
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;hugo v0.164.0-ce2470e7012b5ab5fc4e10ebe4027e9f8d9e00dc+extended windows/amd64 BuildDate&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;2026-07-06T16:39:30Z VendorInfo&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;gohugoio
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ cd themes/PaperMod &lt;span style=&#34;color:#f92672&#34;&gt;&amp;amp;&amp;amp;&lt;/span&gt; git log -1 --oneline
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;154d006 &lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;HEAD -&amp;gt; master, origin/master, origin/HEAD&lt;span style=&#34;color:#f92672&#34;&gt;)&lt;/span&gt; style&lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;post-single&lt;span style=&#34;color:#f92672&#34;&gt;)&lt;/span&gt;: adjust padding &lt;span style=&#34;color:#66d9ef&#34;&gt;for&lt;/span&gt; details summary element
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;setup-steps&#34;&gt;Setup Steps&lt;/h2&gt;
&lt;h3 id=&#34;1-create-the-custom-css&#34;&gt;1. Create the custom CSS&lt;/h3&gt;
&lt;p&gt;Create &lt;code&gt;assets/css/extended/custom.css&lt;/code&gt;.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
