<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>PaperMod on 随记</title><link>https://blog.liuyi2026.asia/zh/tags/PaperMod/</link><description>Recent content in PaperMod on 随记</description><generator>Hugo</generator><language>zh</language><lastBuildDate>Wed, 11 Dec 2024 08:23:34 +0000</lastBuildDate><atom:link href="https://blog.liuyi2026.asia/zh/tags/PaperMod/index.xml" rel="self" type="application/rss+xml"/><item><title>使用PaperMode</title><link>https://blog.liuyi2026.asia/zh/docs/technology/Hugo/themes/PaperMod/01/</link><pubDate>Wed, 11 Dec 2024 08:23:34 +0000</pubDate><guid>https://blog.liuyi2026.asia/zh/docs/technology/Hugo/themes/PaperMod/01/</guid><description>&lt;h1 id="地址">地址&lt;a class="anchor" href="#%e5%9c%b0%e5%9d%80">#&lt;/a>&lt;/h1>
&lt;p>官方： 
&lt;a target="_blank" href="https://github.com/adityatelange/hugo-PaperMod/wiki/Installation">https://github.com/adityatelange/hugo-PaperMod/wiki/Installation&lt;/a> （有些东西没有同hugo官方同步）
非官方： 
&lt;a target="_blank" href="https://github.com/vanitysys28/hugo-papermod-wiki/blob/master/Home.md">https://github.com/vanitysys28/hugo-papermod-wiki/blob/master/Home.md&lt;/a> （与hugo官方更同步）&lt;/p>
&lt;h1 id="安装">安装&lt;a class="anchor" href="#%e5%ae%89%e8%a3%85">#&lt;/a>&lt;/h1>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-shell" data-lang="shell">&lt;span style="display:flex;">&lt;span>hugo new site blog.source --format yaml
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>cd blog.source
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>git init
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>git submodule add --depth&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">1&lt;/span> https://github.com/adityatelange/hugo-PaperMod.git themes/PaperMod 
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>git submodule update --init --recursive &lt;span style="color:#75715e"># needed when you reclone your repo (submodules may not get cloned automatically) &lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>git submodule update --remote --merge&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item></channel></rss>