<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Hugo on Keep It Simple, Stupid</title>
    <link>https://www.hongy19.net/blog/tags/hugo/</link>
    <description>Recent content in Hugo on Keep It Simple, Stupid</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 12 Apr 2026 16:54:02 +0800</lastBuildDate>
    <atom:link href="https://www.hongy19.net/blog/tags/hugo/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Archie</title>
      <link>https://www.hongy19.net/blog/posts/archie/</link>
      <pubDate>Sun, 12 Apr 2026 16:54:02 +0800</pubDate>
      <guid>https://www.hongy19.net/blog/posts/archie/</guid>
      <description>&lt;p&gt;I use simple hugo theme &lt;a href=&#34;https://github.com/athul/archie&#34;&gt;Archie&lt;/a&gt;, it is very simple theme and I like.&#xA;But there are several issues you need to notice&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;bulletin issue:&#xA;Html of my bulletin is very strange ( * and bulletin are not on same line ) since I has sub-bulletin. Markdown requirement is list item includes &amp;ldquo;block content&amp;rdquo;, need to use &lt;!-- raw HTML omitted --&gt; to include block.&#xA;&lt;img src=&#34;https://www.hongy19.net/blog/images/hugo-bulletin-block.png&#34; alt=&#34;img&#34;&gt;&#xA;We need to change it it inline in custom.css.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;  &amp;lt;p&amp;gt;authentication mechanism and password scheme&amp;lt;/p&amp;gt;&#xA;&amp;lt;/li&amp;gt;&#xA;&#xA;&#xA;[params]&#xA;customcss = [&amp;#34;css/custom.css&amp;#34;]&#xA;&#xA;li &amp;gt; p {&#xA;  display: inline;&#xA;}&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;&#xA;&lt;li&gt;menu:&#xA;Default Archie theme has no menu and you need to create menu for posts, category, tag and rss.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;mode=&amp;#34;auto&amp;#34; # color-mode → light,dark,toggle or auto&#xA;useCDN=false # don&amp;#39;t use CDNs for fonts and icons, instead serve them locally.&#xA;subtitle = &amp;#34;hongy19&amp;#39;s blog&amp;#34;&#xA;mathjax = true # enable MathJax support&#xA;katex = true # enable KaTeX support&#xA;&#xA;[taxonomies]&#xA;category = &amp;#34;categories&amp;#34;&#xA;tags = &amp;#34;tags&amp;#34;&#xA;&#xA;[[menu.main]]&#xA;name = &amp;#34;Home&amp;#34;&#xA;url = &amp;#34;/&amp;#34;&#xA;weight = 1&#xA;&#xA;[[menu.main]]&#xA;name = &amp;#34;All posts&amp;#34;&#xA;url = &amp;#34;/posts&amp;#34;&#xA;weight = 2&#xA;&#xA;[[menu.main]]&#xA;name = &amp;#34;Category&amp;#34;&#xA;url = &amp;#34;/categories&amp;#34;&#xA;weight = 3&#xA;&#xA;[[menu.main]]&#xA;name = &amp;#34;Tags&amp;#34;&#xA;url = &amp;#34;/tags&amp;#34;&#xA;weight = 4&#xA;&#xA;[[menu.main]]&#xA;name = &amp;#34;RSS&amp;#34;&#xA;url = &amp;#34;/index.xml&amp;#34;&#xA;weight = 5```&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;&#xA;&lt;li&gt;title link:&#xA;In hugo.toml, I set baseUrl but title link is &amp;lsquo;&lt;a href=&#34;https://www.hongy19.net&#34;&gt;https://www.hongy19.net&lt;/a&gt;&amp;rsquo;, not &amp;lsquo;&lt;a href=&#34;https://www.hongy19.net/blog/&#39;&#34;&gt;https://www.hongy19.net/blog/&#39;&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;baseURL = &amp;#39;https://www.hongy19.net/blog/&amp;#39;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;With help of ChatGPT, fix is simple, update &amp;ldquo;themes/archie/layouts/partials/head.html&amp;rdquo;&lt;/p&gt;</description>
    </item>
    <item>
      <title>hugo</title>
      <link>https://www.hongy19.net/blog/posts/2026-04-hugo/</link>
      <pubDate>Tue, 07 Apr 2026 10:16:00 +0000</pubDate>
      <guid>https://www.hongy19.net/blog/posts/2026-04-hugo/</guid>
      <description>&lt;ul&gt;&#xA;&lt;li&gt;hugo new site blog&lt;/li&gt;&#xA;&lt;li&gt;cd blog&lt;/li&gt;&#xA;&lt;li&gt;git submodule add &lt;a href=&#34;https://github.com/athul/archie.git&#34;&gt;https://github.com/athul/archie.git&lt;/a&gt; themes/archie/&lt;/li&gt;&#xA;&lt;li&gt;echo &amp;ldquo;theme = &amp;lsquo;archie&amp;rsquo;&amp;rdquo; &amp;raquo; hugo.toml&lt;/li&gt;&#xA;&lt;li&gt;hugo new content content/posts/my-first-post.md&lt;/li&gt;&#xA;&lt;li&gt;hugo server &amp;ndash;buildDrafts&lt;/li&gt;&#xA;&lt;li&gt;hugo server -D&lt;/li&gt;&#xA;&lt;li&gt;ssh -L 1313:localhost:1313 user@vps&lt;/li&gt;&#xA;&lt;li&gt;open brower at laptop and access 127.0.0.1:1313&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
  </channel>
</rss>
