<?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 Hugo Bootstrap</title><link>https://hbs.razonyang.com/v1/zh-hant/series/%E6%96%87%E6%AA%94/</link><description>Recent content in 文檔 on Hugo Bootstrap</description><generator>Hugo</generator><language>zh-hant</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-hant/series/%E6%96%87%E6%AA%94/index.xml" rel="self" type="application/rss+xml"/><item><title>打賞小部件</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/widgets/funding/</link><pubDate>Sun, 29 Jan 2023 19:44:19 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/topics/algolia/</link><pubDate>Sun, 27 Nov 2022 19:53:12 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/shortcodes/iframe/</link><pubDate>Sat, 19 Nov 2022 13:00:48 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/shortcodes/game/</link><pubDate>Tue, 15 Nov 2022 21:16:48 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/layouts/landing/</link><pubDate>Thu, 15 Sep 2022 10:46:23 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/widgets/repository/</link><pubDate>Fri, 09 Sep 2022 21:06:19 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/deployment/overview/</link><pubDate>Wed, 27 Jul 2022 18:00:25 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/deployment/overview/</guid><description>&lt;p>在本節中，我們將談論部署的關鍵點，以避免部署期間的大多數問題。&lt;/p></description></item><item><title>布局覆蓋</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/advanced/layouts-overriding/</link><pubDate>Wed, 27 Jul 2022 16:05:37 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/topics/sticky-widgets/</link><pubDate>Wed, 27 Jul 2022 08:54:43 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/topics/sticky-widgets/</guid><description>&lt;p>當頁面太長時，側邊欄會隨著滾動而消失，頁面看起來就不那麽整潔美觀了。
所以本文將介紹如何使用粘性部件來避免這個問題。&lt;/p></description></item><item><title>多語言</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/configuration/multilangual/</link><pubDate>Wed, 27 Jul 2022 08:06:06 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/configuration/multilangual/</guid><description>&lt;p>HBS 支持多種語言，如英語、簡體中文、繁體中文、法語和俄語等。&lt;/p></description></item><item><title>PurgeCSS</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/advanced/purgecss/</link><pubDate>Mon, 25 Jul 2022 12:06:00 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/advanced/purgecss/</guid><description>&lt;p>PurgeCSS 是一個很棒的工具，可以從你的網站上刪除未使用的 CSS。
在本節中，我們將深入探討 PurgeCSS 是如何工作的，以及我們應該註意什麽。&lt;/p></description></item><item><title>性能</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/advanced/performance/</link><pubDate>Sat, 23 Jul 2022 18:30:48 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/advanced/performance/</guid><description>&lt;p>本文我們來探討下如何提高站點的性能。&lt;/p></description></item><item><title>事件</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/advanced/events/</link><pubDate>Sat, 23 Jul 2022 17:33:59 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/advanced/events/</guid><description>&lt;p>本文列出一些主題觸發的一些事件，你可以通過事件監聽器來捕獲這些事件。&lt;/p></description></item><item><title>SCSS 變量</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/advanced/scss-variables/</link><pubDate>Sat, 23 Jul 2022 17:23:28 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/shortcodes/text/</link><pubDate>Fri, 15 Jul 2022 01:00:43 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/shortcodes/text/</guid><description>&lt;p>在本文中，我們將探討文本的一些短代碼，例如文本的對齊、轉換和選擇。&lt;/p></description></item><item><title>構建 Docker 鏡像</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/deployment/docker/</link><pubDate>Wed, 13 Jul 2022 10:30:29 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/deployment/docker/</guid><description>&lt;p>本文將詳細介紹如何構建 Docker 鏡像。&lt;/p></description></item><item><title>部署於 GitHub Pages</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/deployment/github-pages/</link><pubDate>Wed, 13 Jul 2022 10:30:23 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/deployment/cloudflare-pages/</link><pubDate>Tue, 12 Jul 2022 20:06:24 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/deployment/netlify/</link><pubDate>Tue, 12 Jul 2022 14:20:49 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/advanced/snackbar/</link><pubDate>Sat, 02 Jul 2022 21:14:37 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/advanced/snackbar/</guid><description>&lt;p>相信使用過代碼塊復製按鈕的用戶，對 Snackbar 並不陌生，其告知用戶應用程序執行的結果。本文將舉例說明如何使用 Snackbar，以滿足用戶對自定義交互的需要。&lt;/p></description></item><item><title>升級</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/getting-started/upgradation/</link><pubDate>Sat, 25 Jun 2022 22:15:02 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/getting-started/upgradation/</guid><description>&lt;p>本文將介紹如何正確地升級主題版本。&lt;/p></description></item><item><title>Code Toggle</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/shortcodes/code-toggle/</link><pubDate>Mon, 13 Jun 2022 16:54:28 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/shortcodes/code-toggle/</guid><description>&lt;p>The &lt;code>code-toggle&lt;/code> shortcode generates code blocks of various formats according to the configuration code of any supported format.&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-hant/docs/getting-started/prerequisites/</link><pubDate>Mon, 13 Jun 2022 16:32:09 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/getting-started/prerequisites/</guid><description>&lt;p>在安裝主題前，請確保你滿足先決條件。&lt;/p></description></item><item><title>簡介</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/getting-started/introduction/</link><pubDate>Mon, 13 Jun 2022 16:32:09 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/getting-started/introduction/</guid><description>&lt;p>Hugo Bootstrap Theme(HBS) 是壹個快速、響應式、多用途和功能豐富的 Hugo 主題。其通常用於博客和文檔站點。&lt;/p></description></item><item><title>通過 via Hugo Module 安裝</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/getting-started/installation/hugo-module/</link><pubDate>Sat, 26 Feb 2022 17:10:39 +0200</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/layouts/docs/</link><pubDate>Wed, 12 Jan 2022 10:56:34 -0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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>菜單</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/configuration/menu/</link><pubDate>Thu, 16 Dec 2021 17:25:20 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/layouts/faq/</link><pubDate>Tue, 07 Dec 2021 21:46:43 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/layouts/faq/</guid><description>&lt;p>&lt;a href="https://hbs.razonyang.com/v1/zh-hant/faq/">FAQ&lt;/a> 頁面是一個常見問題的集合。&lt;/p></description></item><item><title>通過 Git Submodule 安裝</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/getting-started/installation/git-submodule/</link><pubDate>Sat, 04 Dec 2021 10:43:39 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/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-hant/docs/content/</link><pubDate>Sat, 04 Dec 2021 10:43:39 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/getting-started/</link><pubDate>Sat, 04 Dec 2021 10:43:39 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/getting-started/</guid><description></description></item><item><title>圖片查看器</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/image-viewer/</link><pubDate>Fri, 03 Dec 2021 20:46:50 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/look-and-feel/</link><pubDate>Fri, 03 Dec 2021 19:42:57 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/look-and-feel/</guid><description>&lt;p>默認情况下，使用此主題的網站具有預設字體、顏色和總體外觀。 但是，默認方案不可能滿足所有人的要求，但是不要擔心，你可以輕鬆地覆蓋主題預設值，例如調色板顏色、字體、語法高亮。&lt;/p></description></item><item><title>漸進式 web 應用程序</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/pwa/</link><pubDate>Fri, 03 Dec 2021 19:39:01 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/layouts/search/</link><pubDate>Fri, 03 Dec 2021 11:16:51 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/layouts/search/</guid><description>&lt;p>如果您的網站中有許多文章，讀者可能很難檢索到文章，因此，我們添加了搜索功能。&lt;/p></description></item><item><title>歸檔頁面</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/layouts/archives/</link><pubDate>Fri, 03 Dec 2021 11:16:51 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/layouts/archives/</guid><description>&lt;p>歸檔頁面按照年份對文章進行歸檔。&lt;/p></description></item><item><title>打賞小部件</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/widgets/reward/</link><pubDate>Fri, 03 Dec 2021 11:10:19 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/widgets/reward/</guid><description><![CDATA[<p>打賞小部件，又稱buy me a coffee小部件，其通過使用捐贈或小費，為讀者提供了一種支持創作者的筦道。</p>
<p>然而其只能用於二維碼收款，其他請移步 <a href="https://hbs.razonyang.com/v1/zh-hant/docs/widgets/funding/">funding widget</a>。</p>]]></description></item><item><title>作者小部件</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/widgets/author/</link><pubDate>Fri, 03 Dec 2021 11:10:19 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/widgets/author/</guid><description>&lt;p>作者小部件位於側邊欄，用於簡要地自我介紹。&lt;/p></description></item><item><title>社交連結</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/widgets/social-links/</link><pubDate>Thu, 02 Dec 2021 16:27:45 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/layouts/contact/</link><pubDate>Tue, 30 Nov 2021 23:56:00 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/layouts/contact/</guid><description>&lt;p>我們可以將郵寄地址放在 &lt;a href="https://hbs.razonyang.com/v1/zh-hant/docs/widgets/social-links/">社交連結&lt;/a>上，以便讀者聯繫我們。 但不幸的是，郵件或多或少會被當成垃圾郵件，甚至被過濾。 因此我們帶來了一個聯系表單的功能。&lt;/p></description></item><item><title>自定義資源</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/advanced/custom-assets/</link><pubDate>Sun, 28 Nov 2021 16:00:56 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/advanced/hooks/</link><pubDate>Sat, 27 Nov 2021 21:04:35 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/get-involved/</link><pubDate>Sat, 27 Nov 2021 19:54:29 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/get-involved/</guid><description>&lt;p>我們很樂意傾聽你的意見和反饋，也歡迎你參與進來。&lt;/p></description></item><item><title>評論小部件</title><link>https://hbs.razonyang.com/v1/zh-hant/docs/widgets/comments/</link><pubDate>Sat, 27 Nov 2021 19:54:29 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/configuration/page-params/</link><pubDate>Sat, 27 Nov 2021 19:53:24 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/configuration/site-params/</link><pubDate>Sat, 27 Nov 2021 19:53:24 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/configuration/site/</link><pubDate>Sat, 27 Nov 2021 19:53:24 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/configuration/structure/</link><pubDate>Sat, 27 Nov 2021 19:53:24 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/configuration/structure/</guid><description><![CDATA[<p>如示例站點所示，我們使用 <a href="https://gohugo.io/getting-started/configuration/#configuration-%e7%9b%ae%e9%8c%84" 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-hant/docs/image-processing/</link><pubDate>Sun, 15 Aug 2021 14:19:06 +0800</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/posts/markdown-syntax/</link><pubDate>Mon, 09 Nov 2020 00:00:00 +0000</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/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-hant/docs/shortcodes/alert/</link><pubDate>Thu, 22 Oct 2020 00:00:00 +0000</pubDate><guid>https://hbs.razonyang.com/v1/zh-hant/docs/shortcodes/alert/</guid><description>&lt;p>本文將介紹如何使用 &lt;code>alert&lt;/code> shortcode。&lt;/p></description></item></channel></rss>