<?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 Bootstrap</title><link>https://hbs.razonyang.com/v1/zh-hans/</link><description>Recent content on Hugo Bootstrap</description><generator>Hugo</generator><language>zh-hans</language><copyright>Copyright © 2016-2025 Razon Yang. All Rights Reserved.</copyright><lastBuildDate>Sun, 29 Jan 2023 19:44:19 +0800</lastBuildDate><atom:link href="https://hbs.razonyang.com/v1/zh-hans/index.xml" rel="self" type="application/rss+xml"/><item><title>打赏小部件</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/widgets/funding/</link><pubDate>Sun, 29 Jan 2023 19:44:19 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/widgets/funding/</guid><description>&lt;p>打赏小部件，又称 buy me a coffee 小部件，其通过使用捐赠或小费，为读者提供了一种支持创作者的管道。&lt;/p></description></item><item><title>Algolia</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/topics/algolia/</link><pubDate>Sun, 27 Nov 2022 19:53:12 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/topics/algolia/</guid><description><![CDATA[<p>The client search will become slower and slower with the content grows, it&rsquo;s reasonable to have a remote search service to handle search requests from a large site.</p>
<p>Algolia is a popular search service that provides free plan (10k records, 10k requests per month). After reading this article, you will learn how to configure Algolia and automatically upload index files.</p>]]></description><enclosure url="https://hbs.razonyang.com/v1/en/docs/topics/algolia/featured.png" length="53150" type="image/png"/></item><item><title>IFrame Shortcode</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/shortcodes/iframe/</link><pubDate>Sat, 19 Nov 2022 13:00:48 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/shortcodes/iframe/</guid><description>&lt;p>A detailed description of iframe shortcode.&lt;/p></description></item><item><title>游戏 Shortcode</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/shortcodes/game/</link><pubDate>Tue, 15 Nov 2022 21:16:48 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/shortcodes/game/</guid><description>&lt;p>A detailed description of game shortcode.&lt;/p></description></item><item><title>落地页布局</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/layouts/landing/</link><pubDate>Thu, 15 Sep 2022 10:46:23 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/layouts/landing/</guid><description><![CDATA[<p>In this article, we&rsquo;ll talk about the landing page layout, you may be interested in it if you&rsquo;re going to customizing the pages in Markdown way.</p>]]></description></item><item><title>Repository Widget</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/widgets/repository/</link><pubDate>Fri, 09 Sep 2022 21:06:19 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/widgets/repository/</guid><description>&lt;p>The repository widget shows the commit information about current page, it&amp;rsquo;s useful for users to view or edit the source code.&lt;/p></description><enclosure url="https://hbs.razonyang.com/v1/en/docs/widgets/repository/featured.png" length="10492" type="image/png"/></item><item><title>部署概览</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/deployment/overview/</link><pubDate>Wed, 27 Jul 2022 18:00:25 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/deployment/overview/</guid><description>&lt;p>在本节中，我们将谈论部署的关键点，以避免部署期间的大多数问题。&lt;/p></description></item><item><title>布局覆盖</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/advanced/layouts-overriding/</link><pubDate>Wed, 27 Jul 2022 16:05:37 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/advanced/layouts-overriding/</guid><description><![CDATA[<p>根据 <a href="https://gohugo.io/templates/lookup-order/" target="_blank" rel="noopener noreferrer">Hugo Layouts Lookup Order<i class="fas fa-external-link-square-alt ms-1"></i></a>，可以很容易地覆盖 Hugo 和主题的布局和模板。
这对那些想自定义某些特定布局或参数的用户来说很有用。</p>]]></description></item><item><title>粘性小部件</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/topics/sticky-widgets/</link><pubDate>Wed, 27 Jul 2022 08:54:43 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/topics/sticky-widgets/</guid><description>&lt;p>当页面太长时，侧边栏会随着滚动而消失，页面看起来就不那么整洁美观了。
所以本文将介绍如何使用粘性部件来避免这个问题。&lt;/p></description></item><item><title>多语言</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/configuration/multilangual/</link><pubDate>Wed, 27 Jul 2022 08:06:06 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/configuration/multilangual/</guid><description>&lt;p>HBS 支持多种语言，如英语、简体中文、繁体中文、法语和俄语等。&lt;/p></description></item><item><title>PurgeCSS</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/advanced/purgecss/</link><pubDate>Mon, 25 Jul 2022 12:06:00 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/advanced/purgecss/</guid><description>&lt;p>PurgeCSS 是一个很棒的工具，可以从你的网站上删除未使用的 CSS。
在本节中，我们将深入探讨 PurgeCSS 是如何工作的，以及我们应该注意什么。&lt;/p></description></item><item><title>性能</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/advanced/performance/</link><pubDate>Sat, 23 Jul 2022 18:30:48 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/advanced/performance/</guid><description>&lt;p>本文我们来探讨下如何提高站点的性能。&lt;/p></description></item><item><title>事件</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/advanced/events/</link><pubDate>Sat, 23 Jul 2022 17:33:59 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/advanced/events/</guid><description>&lt;p>本文列出一些主题触发的一些事件，你可以通过事件监听器来捕获这些事件。&lt;/p></description></item><item><title>SCSS 变量</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/advanced/scss-variables/</link><pubDate>Sat, 23 Jul 2022 17:23:28 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/advanced/scss-variables/</guid><description>&lt;p>感谢 &lt;code>assets/main/scss/_variables.scss&lt;/code>，我们可以更改主题和 Bootstrap 的默认 SCSS 变量。&lt;/p></description></item><item><title>文本 Shortcodes</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/shortcodes/text/</link><pubDate>Fri, 15 Jul 2022 01:00:43 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/shortcodes/text/</guid><description>&lt;p>在本文中，我们将探讨文本的一些短代码，例如文本的对齐、转换和选择。&lt;/p></description></item><item><title>构建 Docker 镜像</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/deployment/docker/</link><pubDate>Wed, 13 Jul 2022 10:30:29 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/deployment/docker/</guid><description>&lt;p>本文将详细介绍如何构建 Docker 镜像。&lt;/p></description></item><item><title>部署于 GitHub Pages</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/deployment/github-pages/</link><pubDate>Wed, 13 Jul 2022 10:30:23 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/deployment/github-pages/</guid><description><![CDATA[<p>本文将介绍如何使用 GitHub Actions 部署站点到 <a href="https://pages.github.com/" target="_blank" rel="noopener noreferrer">GitHub Pages<i class="fas fa-external-link-square-alt ms-1"></i></a>。</p>]]></description></item><item><title>部署于 Cloudflare Pages</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/deployment/cloudflare-pages/</link><pubDate>Tue, 12 Jul 2022 20:06:24 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/deployment/cloudflare-pages/</guid><description><![CDATA[<p>本文将介绍于 <a href="https://pages.cloudflare.com/" target="_blank" rel="noopener noreferrer">Cloudflare Pages<i class="fas fa-external-link-square-alt ms-1"></i></a> 上部署站点。</p>]]></description></item><item><title>部署于 Netlify</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/deployment/netlify/</link><pubDate>Tue, 12 Jul 2022 14:20:49 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/deployment/netlify/</guid><description><![CDATA[<p>本文将介绍如何部署站点于 <a href="https://www.netlify.com/" target="_blank" rel="noopener noreferrer">Netlify<i class="fas fa-external-link-square-alt ms-1"></i></a>。</p>]]></description></item><item><title>Snackbar</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/advanced/snackbar/</link><pubDate>Sat, 02 Jul 2022 21:14:37 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/advanced/snackbar/</guid><description>&lt;p>相信使用过代码块复制按钮的用户，对 Snackbar 并不陌生，其告知用户应用程序执行的结果。本文将举例说明如何使用 Snackbar，以满足用户对自定义交互的需要。&lt;/p></description></item><item><title>升级</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/getting-started/upgradation/</link><pubDate>Sat, 25 Jun 2022 22:15:02 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/getting-started/upgradation/</guid><description>&lt;p>本文将介绍如何正确地升级主题版本。&lt;/p></description></item><item><title>Code Toggle</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/shortcodes/code-toggle/</link><pubDate>Mon, 13 Jun 2022 16:54:28 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/shortcodes/code-toggle/</guid><description>&lt;p>&lt;code>code-toggle&lt;/code> shortcode 根據任意支持的配寘程式碼，生成多種格式等效的程式碼塊。&lt;/p></description><enclosure url="https://hbs.razonyang.com/v1/en/docs/shortcodes/code-toggle/featured.png" length="157833" type="image/png"/></item><item><title>简介</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/getting-started/introduction/</link><pubDate>Mon, 13 Jun 2022 16:32:09 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/getting-started/introduction/</guid><description>&lt;p>Hugo Bootstrap Theme(HBS) 是一个快速、响应式、多用途和功能丰富的 Hugo 主题。其通常用于博客和文档站点。&lt;/p></description></item><item><title>先决条件</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/getting-started/prerequisites/</link><pubDate>Mon, 13 Jun 2022 16:32:09 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/getting-started/prerequisites/</guid><description>&lt;p>在安装主题前，请确保你满足先决条件。&lt;/p></description></item><item><title>问题排查</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/troubleshooting/</link><pubDate>Sat, 19 Mar 2022 13:46:41 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/troubleshooting/</guid><description>&lt;p>本文列出了一些常见问题，以便你可以轻松解决它们。&lt;/p></description></item><item><title>通过 Hugo Module 安装</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/getting-started/installation/hugo-module/</link><pubDate>Sat, 26 Feb 2022 17:10:39 +0200</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/getting-started/installation/hugo-module/</guid><description><![CDATA[<p>This article refers to the modern, up-to-date installation method of installing the theme locally as Hugo module.</p>

<h2 id="proxy-optional" data-numberify>Proxy (Optional)<a class="anchor ms-1" href="#proxy-optional"></a></h2>
<p>If you&rsquo;re located at China mainland without VPN, the Hugo module download may fail.</p>
<p>There are two proxies for this: <a href="https://goproxy.cn" target="_blank" rel="noopener noreferrer">GOPROXY.CN<i class="fas fa-external-link-square-alt ms-1"></i></a> and <a href="https://goproxy.io" target="_blank" rel="noopener noreferrer">GOPROXY.IO<i class="fas fa-external-link-square-alt ms-1"></i></a>.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="ln">1</span><span class="cl">$ <span class="nb">export</span> <span class="nv">HUGO_MODULE_PROXY</span><span class="o">=</span>https://goproxy.cn
</span></span></code></pre></div><blockquote>
<p>Please note that, Hugo doesn&rsquo;t respect the <code>GOPROXY</code> env var, please use <code>HUGO_MODULE_PROXY</code> instead.</p></blockquote>
<p>You can also set the <code>module.proxy</code> instead of using env var.</p>]]></description></item><item><title>Docs 布局</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/layouts/docs/</link><pubDate>Wed, 12 Jan 2022 10:56:34 -0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/layouts/docs/</guid><description>&lt;p>在本文中，我们将探讨 &lt;code>docs&lt;/code> 布局，其可用来编写项目文档，个人笔记等。&lt;/p></description><enclosure url="https://hbs.razonyang.com/v1/en/docs/layouts/docs/featured.png" length="157833" type="image/png"/></item><item><title>Starter Template</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/getting-started/installation/starter-template/</link><pubDate>Thu, 16 Dec 2021 17:25:20 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/getting-started/installation/starter-template/</guid><description>&lt;p>The starter template for newbie.&lt;/p></description></item><item><title>菜单</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/configuration/menu/</link><pubDate>Thu, 16 Dec 2021 17:25:20 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/configuration/menu/</guid><description><![CDATA[<p>我们预定义了两种类型的菜单：<code>main</code> 和 <code>footer</code>，分别表示顶部的应用程序栏菜单和页脚菜单。
本文将简要介绍如何使用菜单。</p>]]></description><enclosure url="https://hbs.razonyang.com/v1/en/docs/configuration/menu/featured.png" length="157833" type="image/png"/></item><item><title>FAQ 页面</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/layouts/faq/</link><pubDate>Tue, 07 Dec 2021 21:46:43 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/layouts/faq/</guid><description>&lt;p>&lt;a href="https://hbs.razonyang.com/v1/zh-hans/faq/">FAQ&lt;/a> 页面是一个常见问题的集合。&lt;/p></description></item><item><title>通过 Git Submodule 安装</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/getting-started/installation/git-submodule/</link><pubDate>Sat, 04 Dec 2021 10:43:39 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/getting-started/installation/git-submodule/</guid><description><![CDATA[<p>This article refers to the traditional installation method of cloning the theme locally as Git submodule.
While this installation method is still widely used, we recommend to install the theme as <a href="https://hbs.razonyang.com/v1/zh-hans/docs/getting-started/installation/hugo-module/">Hugo module</a>.</p>

<h2 id="从头开始创建站点" data-numberify>从头开始创建站点<a class="anchor ms-1" href="#从头开始创建站点"></a></h2>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="ln">1</span><span class="cl">$ git clone https://github.com/razonyang/hugo-theme-bootstrap-skeleton myblog
</span></span><span class="line"><span class="ln">2</span><span class="cl">$ <span class="nb">cd</span> myblog
</span></span><span class="line"><span class="ln">3</span><span class="cl">$ git submodule add https://github.com/razonyang/hugo-theme-bootstrap themes/hugo-theme-bootstrap
</span></span><span class="line"><span class="ln">4</span><span class="cl">$ sed -i <span class="s2">&#34;s/theme:.*/theme: hugo-theme-bootstrap/g&#34;</span> config/_default/config.yaml
</span></span><span class="line"><span class="ln">5</span><span class="cl">$ rm go.mod go.sum
</span></span><span class="line"><span class="ln">6</span><span class="cl">$ hugo mod npm pack
</span></span><span class="line"><span class="ln">7</span><span class="cl">$ npm install
</span></span><span class="line"><span class="ln">8</span><span class="cl">$ hugo server
</span></span></code></pre></div><blockquote>
<p>如果你使用的是 Windows，请改用 <code>xcopy .\themes\hugo-theme-bootstrap\exampleSite /E</code>。</p>]]></description></item><item><title>添加内容</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/content/</link><pubDate>Sat, 04 Dec 2021 10:43:39 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/content/</guid><description><![CDATA[<h2 id="主要-sections" data-numberify>主要 Sections<a class="anchor ms-1" href="#主要-sections"></a></h2>
<p><code>mainSections</code> 参数用于过滤页面，默认为 <code>[&quot;posts&quot;, &quot;docs&quot;]</code>。</p>
<div class="highlight" title="config/_default/params.toml"><pre tabindex="0" class="chroma"><code class="language-toml" data-lang="toml"><span class="line"><span class="ln">1</span><span class="cl"><span class="nx">mainSections</span> <span class="p">=</span> <span class="p">[</span><span class="s2">&#34;blog&#34;</span><span class="p">,</span> <span class="s2">&#34;posts&#34;</span><span class="p">,</span> <span class="s2">&#34;docs&#34;</span><span class="p">,</span> <span class="s2">&#34;notes&#34;</span><span class="p">]</span>
</span></span></code></pre></div>
<h2 id="front-matter" data-numberify>Front Matter<a class="anchor ms-1" href="#front-matter"></a></h2>
<p>Front Matter is the place where we put page metadata and parameters, such as title, date and so on.</p>

<h3 id="formats" data-numberify>Formats<a class="anchor ms-1" href="#formats"></a></h3>
<p>Hugo supports three formats of front matter: <code>YAML</code>, <code>TOML</code> and <code>JSON</code>.</p>]]></description></item><item><title>图片查看器</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/image-viewer/</link><pubDate>Fri, 03 Dec 2021 20:46:50 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/image-viewer/</guid><description>&lt;p>Image viewer is an image gallery, it will be shown up when you click a non-linkable image.&lt;/p>
&lt;p>It also provides many tools, such as zoom in, zoom out and rotate.&lt;/p></description></item><item><title>观感</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/look-and-feel/</link><pubDate>Fri, 03 Dec 2021 19:42:57 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/look-and-feel/</guid><description>&lt;p>默认情况下，使用此主题的站点具有默认字体、颜色和总体外观。但是，默认方案不可能满足所有人的要求，但是不要担心，你可以轻松地覆盖主题默认值，例如调色板颜色、字体、语法高亮。&lt;/p></description></item><item><title>渐进式 web 应用程序</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/pwa/</link><pubDate>Fri, 03 Dec 2021 19:39:01 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/pwa/</guid><description><![CDATA[<p>PWAs(<a href="https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps" target="_blank" rel="noopener noreferrer">渐进式 web 应用程序<i class="fas fa-external-link-square-alt ms-1"></i></a>) 是使用一些特定的技术和标准模式开发的，允许它们同时利用 web 和本机应用程序功能。</p>
<p>HBS 提供了一些基本的特性，如将站点安装到主屏幕、预缓存文件和离线可用。</p>]]></description></item><item><title>归档页面</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/layouts/archives/</link><pubDate>Fri, 03 Dec 2021 11:16:51 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/layouts/archives/</guid><description>&lt;p>归档页面按照年份对文章进行归档。&lt;/p></description></item><item><title>搜索页面</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/layouts/search/</link><pubDate>Fri, 03 Dec 2021 11:16:51 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/layouts/search/</guid><description>&lt;p>如果您的站点中有许多文章，读者可能很难检索到文章，因此，我们添加了搜索功能。&lt;/p></description></item><item><title>打赏小部件</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/widgets/reward/</link><pubDate>Fri, 03 Dec 2021 11:10:19 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/widgets/reward/</guid><description><![CDATA[<p>打赏小部件，又称 buy me a coffee 小部件，其通过使用捐赠或小费，为读者提供了一种支持创作者的管道。</p>
<p>然而其只能用于二维码收款，其他请移步 <a href="https://hbs.razonyang.com/v1/zh-hans/docs/widgets/funding/">funding widget</a>。</p>]]></description></item><item><title>作者小部件</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/widgets/author/</link><pubDate>Fri, 03 Dec 2021 11:10:19 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/widgets/author/</guid><description>&lt;p>作者小部件位于侧边栏，用于简要地自我介绍。&lt;/p></description></item><item><title>社交链接</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/widgets/social-links/</link><pubDate>Thu, 02 Dec 2021 16:27:45 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/widgets/social-links/</guid><description>&lt;p>社交链接 &lt;code>social&lt;/code> 参数是一组平台映射到用户标识的键值对。
其支持很多热门的社交平台，比如 Twitter、Facebook、Reddit、GitHub。
本文列出了所有受支持的平台，及其使用方法。&lt;/p></description></item><item><title>联系表单</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/layouts/contact/</link><pubDate>Tue, 30 Nov 2021 23:56:00 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/layouts/contact/</guid><description>&lt;p>我们可以将邮件地址放在 &lt;a href="https://hbs.razonyang.com/v1/zh-hans/docs/widgets/social-links/">社交链接&lt;/a>上，以便读者联系我们。但不幸的是，邮件或多或少会被当成垃圾邮件，甚至被过滤。因此我们带来了一个联系表单的功能。&lt;/p></description></item><item><title>自定义资源</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/advanced/custom-assets/</link><pubDate>Sun, 28 Nov 2021 16:00:53 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/advanced/custom-assets/</guid><description>&lt;p>作为一个可定制的主题，其提供了定制资源的能力，无论是定制 CSS 和 JS，还是引入第三方 CSS 和 JS。&lt;/p></description></item><item><title>钩子</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/advanced/hooks/</link><pubDate>Sat, 27 Nov 2021 21:04:32 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/advanced/hooks/</guid><description>&lt;p>作为一个灵活的主题，它应该能够自定义代码和集成第三方服务。因此，我们带来了一个叫做钩子的特性。&lt;/p>
&lt;p>在本文中，我们将介绍所有钩子并提供一些用例。&lt;/p></description></item><item><title>参与我们</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/get-involved/</link><pubDate>Sat, 27 Nov 2021 19:54:29 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/get-involved/</guid><description>&lt;p>我们很乐意倾听你的意见和反馈，也欢迎你参与进来。&lt;/p></description></item><item><title>评论小部件</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/widgets/comments/</link><pubDate>Sat, 27 Nov 2021 19:54:29 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/widgets/comments/</guid><description><![CDATA[<p><a href="https://disqus.com/" target="_blank" rel="noopener noreferrer">Disqus<i class="fas fa-external-link-square-alt ms-1"></i></a>、<a href="https://utteranc.es/" target="_blank" rel="noopener noreferrer">Utterances<i class="fas fa-external-link-square-alt ms-1"></i></a> 和 <a href="https://giscus.app/" target="_blank" rel="noopener noreferrer">Giscus<i class="fas fa-external-link-square-alt ms-1"></i></a> 评论小部件都是开箱即用的。本文将展示如何配置它们，甚至自定义你自己的评论小部件。</p>]]></description></item><item><title>配置结构</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/configuration/structure/</link><pubDate>Sat, 27 Nov 2021 19:53:24 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/configuration/structure/</guid><description><![CDATA[<p>如示例站点所示，我们使用 <a href="https://gohugo.io/getting-started/configuration/#configuration-%e7%9b%ae%e5%bd%95" target="_blank" rel="noopener noreferrer">Configuration Directory<i class="fas fa-external-link-square-alt ms-1"></i></a> 为了维护更简单的组织和特定于环境的设置，它在多语言站点上特别有用。</p>]]></description></item><item><title>页面参数</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/configuration/page-params/</link><pubDate>Sat, 27 Nov 2021 19:53:24 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/configuration/page-params/</guid><description><![CDATA[<p>页面参数位于 <a href="https://gohugo.io/content-management/front-matter/" target="_blank" rel="noopener noreferrer">Front Matter<i class="fas fa-external-link-square-alt ms-1"></i></a>。</p>]]></description></item><item><title>站点参数</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/configuration/site-params/</link><pubDate>Sat, 27 Nov 2021 19:53:24 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/configuration/site-params/</guid><description>&lt;p>站点参数文件默认为 &lt;code>config/_default/params.toml&lt;/code>。&lt;/p></description></item><item><title>站点配置</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/configuration/site/</link><pubDate>Sat, 27 Nov 2021 19:53:24 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/configuration/site/</guid><description>&lt;p>站点配置文件默认为 &lt;code>config/_default/config.toml&lt;/code>。&lt;/p></description></item><item><title>图像处理</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/image-processing/</link><pubDate>Sun, 15 Aug 2021 14:19:06 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/image-processing/</guid><description>&lt;p>本文提供一些调整图片大小、裁剪和对齐图片的用例。&lt;/p></description><enclosure url="https://hbs.razonyang.com/v1/en/docs/image-processing/featured-sample.webp" length="498412" type="image/webp"/></item><item><title>Markdown 语法指南</title><link>https://hbs.razonyang.com/v1/zh-hans/posts/markdown-syntax/</link><pubDate>Mon, 09 Nov 2020 00:00:00 +0000</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/posts/markdown-syntax/</guid><description>&lt;p>This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.&lt;/p></description><enclosure url="https://hbs.razonyang.com/v1/images/markdown.png" length="279937" type="image/.png"/></item><item><title>Alert Shortcode</title><link>https://hbs.razonyang.com/v1/zh-hans/docs/shortcodes/alert/</link><pubDate>Thu, 22 Oct 2020 00:00:00 +0000</pubDate><guid>https://hbs.razonyang.com/v1/zh-hans/docs/shortcodes/alert/</guid><description>&lt;p>本文将介绍如何使用 &lt;code>alert&lt;/code> shortcode。&lt;/p></description></item></channel></rss>