<?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>入门 on 我的博客</title><link>https://example.org/tags/%E5%85%A5%E9%97%A8/</link><description>Recent content in 入门 on 我的博客</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Tue, 16 Jun 2026 10:00:00 +0800</lastBuildDate><atom:link href="https://example.org/tags/%E5%85%A5%E9%97%A8/index.xml" rel="self" type="application/rss+xml"/><item><title>Hello Hugo — 我的第一篇博客</title><link>https://example.org/posts/hello-hugo/</link><pubDate>Tue, 16 Jun 2026 10:00:00 +0800</pubDate><guid>https://example.org/posts/hello-hugo/</guid><description>使用 Hugo 和 PaperMod 主题搭建个人博客的记录。</description><content:encoded><![CDATA[<h2 id="为什么选择-hugo">为什么选择 Hugo</h2>
<p>Hugo 是一个用 Go 语言编写的静态站点生成器，具有以下优势：</p>
<ul>
<li><strong>构建速度快</strong> — 相比其他静态站点生成器，Hugo 的构建速度非常快</li>
<li><strong>模板丰富</strong> — 有大量优秀的主题可供选择</li>
<li><strong>部署简单</strong> — 生成的纯静态 HTML 文件，可以部署在任何地方</li>
</ul>
<h2 id="搭建过程">搭建过程</h2>
<h3 id="1-安装-hugo">1. 安装 Hugo</h3>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span><span style="color:#75715e"># Windows (使用 winget)</span>
</span></span><span style="display:flex;"><span>winget install Hugo.Hugo.Extended
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#75715e"># macOS (使用 Homebrew)</span>
</span></span><span style="display:flex;"><span>brew install hugo</span></span></code></pre></div>
<h3 id="2-创建站点">2. 创建站点</h3>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>hugo new site my-blog
</span></span><span style="display:flex;"><span>cd my-blog</span></span></code></pre></div>
<h3 id="3-安装主题">3. 安装主题</h3>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>git clone --depth <span style="color:#ae81ff">1</span> https://github.com/adityatelange/hugo-PaperMod.git themes/hugo-PaperMod</span></span></code></pre></div>
<h3 id="4-编写文章">4. 编写文章</h3>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>hugo new content posts/my-first-post.md</span></span></code></pre></div>
<h2 id="总结">总结</h2>
<p>Hugo 是一个非常优秀的静态站点生成器，配合 PaperMod 主题可以快速搭建一个美观的个人博客。</p>
<blockquote>
<p>学无止境，记录每一天的成长。</p></blockquote>
]]></content:encoded></item></channel></rss>