<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hugo Theme Bootstrap Docs v0</title><link>https://hbs.razonyang.com/v0/en/</link><description>Recent content on Hugo Theme Bootstrap Docs v0</description><generator>Hugo -- gohugo.io</generator><copyright>Copyright © 2016-2023 Razon Yang. All Rights Reserved.</copyright><lastBuildDate>Fri, 25 Mar 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://hbs.razonyang.com/v0/en/index.xml" rel="self" type="application/rss+xml"/><item><title>Install via Git Submodule</title><link>https://hbs.razonyang.com/v0/en/docs/installation/git-submodule/</link><pubDate>Sat, 04 Dec 2021 10:43:39 +0800</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/installation/git-submodule/</guid><description>This article refers to the traditional installation method of cloning the theme locally as Git submodule. It describes how to install, upgrade the theme, and write new articles. While this installation method is still widely used, we recommend to install the theme as Hugo module .
Installation Create a New Site from Scratch 1$ hugo new site myblog 2$ cd myblog 3$ git init 4$ git submodule add https://github.com/razonyang/hugo-theme-bootstrap themes/hugo-theme-bootstrap 5$ cp -a themes/hugo-theme-bootstrap/exampleSite/* .</description></item><item><title>Install via Hugo Module</title><link>https://hbs.razonyang.com/v0/en/docs/installation/hugo-module/</link><pubDate>Sat, 26 Feb 2022 17:10:39 +0200</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/installation/hugo-module/</guid><description>This article refers to the modern, up-to-date installation method of installing the theme locally as Hugo module. It describes how to install, upgrade the theme, and write new articles.
Proxy (optional) If you&amp;rsquo;re located at China mainland without VPN, the Hugo module download may fail.
There are two proxies for this: GOPROXY.CN and GOPROXY.IO .
1$ go env -w GOPROXY=https://goproxy.cn,direct or
1$ go env -w GOPROXY=https://goproxy.io,direct Installation Install a new site from scratch Step 1: Create skeleton site Create and enter new site: 1$ hugo new site my-new-blog 2$ cd my-new-blog Step 2: Turn your new site into a Hugo module: 1$ hugo mod init github.</description></item><item><title>Starter Template</title><link>https://hbs.razonyang.com/v0/en/docs/installation/starter-template/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/installation/starter-template/</guid><description>The starter template for newbie.</description></item><item><title>Look and Feel</title><link>https://hbs.razonyang.com/v0/en/docs/look-and-feel/</link><pubDate>Fri, 03 Dec 2021 19:42:57 +0800</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/look-and-feel/</guid><description>&lt;p>By default, a site using this theme has the default fonts, colors, and general look and feel.
However, the default scheme cannot satisfy everyone, but don&amp;rsquo;t worry, you can easily override the theme defaults, such as palette colors, fonts, syntax highlighting.&lt;/p></description></item><item><title>Menu</title><link>https://hbs.razonyang.com/v0/en/docs/menu/</link><pubDate>Thu, 16 Dec 2021 17:25:20 +0800</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/menu/</guid><description>&lt;p>We predefined two types of menus: &lt;code>main&lt;/code> and &lt;code>footer&lt;/code>, represents the top app bar menus and the footer menus, respectively.
This article will briefly introduce how to use the menus.&lt;/p></description></item><item><title>Adding Content</title><link>https://hbs.razonyang.com/v0/en/docs/content/</link><pubDate>Sat, 04 Dec 2021 10:43:39 +0800</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/content/</guid><description>Main Sections The mainSections parameter is used to filter pages, default to [&amp;quot;posts&amp;quot;, &amp;quot;docs&amp;quot;].
1mainSections = [&amp;#34;blog&amp;#34;, &amp;#34;posts&amp;#34;, &amp;#34;docs&amp;#34;, &amp;#34;notes&amp;#34;] Content Types You may want to use docs layout in other sections instead of /docs, such as /notes. It&amp;rsquo;s easy to do that by setting type = &amp;quot;docs&amp;quot; on the front matter.
Archetypes We can also create a archetype for notes, let&amp;rsquo;s Hugo take care of the type.
1$ cp themes/hugo-theme-bootstrap/archetypes/default.</description></item><item><title>Configuration</title><link>https://hbs.razonyang.com/v0/en/docs/configuration/</link><pubDate>Sat, 27 Nov 2021 19:53:24 +0800</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/configuration/</guid><description>&lt;p>As the example site shown, we use &lt;a href="https://gohugo.io/getting-started/configuration/#configuration-directory" target="_blank" rel="noopener noreferrer">Configuration Directory&lt;i class="fas fa-external-link-square-alt ms-1">&lt;/i>&lt;/a>
to maintain easier organization and environment specific settings, it is especially useful on multilingual sites.&lt;/p></description></item><item><title>Getting Started</title><link>https://hbs.razonyang.com/v0/en/docs/getting-started/</link><pubDate>Sat, 04 Dec 2021 10:43:39 +0800</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/getting-started/</guid><description>&lt;p>HBS(Hugo Bootstrap) is a fast, responsive and feature-rich Hugo theme for personal blog and documentations.
Please make sure you &lt;a href="https://hbs.razonyang.com/v0/en/docs/getting-started/#prerequisites">meet the prerequisites&lt;/a>
prior to installing the theme.&lt;/p></description></item><item><title>Gallery Shortcode</title><link>https://hbs.razonyang.com/v0/en/docs/shortcodes/gallery/</link><pubDate>Fri, 25 Mar 2022 00:00:00 +0000</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/shortcodes/gallery/</guid><description>&lt;p>This article shows how to use the &lt;code>gallery&lt;/code> shortcode.&lt;/p></description></item><item><title>Troubleshooting</title><link>https://hbs.razonyang.com/v0/en/docs/troubleshooting/</link><pubDate>Sat, 19 Mar 2022 13:46:41 +0800</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/troubleshooting/</guid><description>&lt;p>This article lists some common problems so that you can easily solve them.&lt;/p></description></item><item><title>Docs Layout</title><link>https://hbs.razonyang.com/v0/en/docs/layouts/docs/</link><pubDate>Wed, 12 Jan 2022 10:56:34 -0800</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/layouts/docs/</guid><description>&lt;p>In this post we explore the &lt;code>docs&lt;/code> layout that can be used to publish project documentation, a Personal Knowledge Base (PKM), a &lt;a href="https://maggieappleton.com/garden-history" target="_blank" rel="noopener noreferrer">Digital Garden&lt;i class="fas fa-external-link-square-alt ms-1">&lt;/i>&lt;/a>
, a &lt;a href="https://fortelabs.co/blog/basboverview/" target="_blank" rel="noopener noreferrer">Second Brain&lt;i class="fas fa-external-link-square-alt ms-1">&lt;/i>&lt;/a>
, a &lt;a href="https://zenkit.com/en/blog/a-beginners-guide-to-the-zettelkasten-method/" target="_blank" rel="noopener noreferrer">Zettelkasten&lt;i class="fas fa-external-link-square-alt ms-1">&lt;/i>&lt;/a>
, your notes, and more.&lt;/p></description></item><item><title>FAQ Layout</title><link>https://hbs.razonyang.com/v0/en/docs/layouts/faq/</link><pubDate>Tue, 07 Dec 2021 21:46:43 +0800</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/layouts/faq/</guid><description>&lt;p>The &lt;a href="https://hbs.razonyang.com/v0/en/faq/">FAQ&lt;/a>
page is a collection of frequently asked questions.&lt;/p></description></item><item><title>Image Viewer</title><link>https://hbs.razonyang.com/v0/en/docs/image-viewer/</link><pubDate>Fri, 03 Dec 2021 20:46:50 +0800</pubDate><guid>https://hbs.razonyang.com/v0/en/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>Progressive Web App</title><link>https://hbs.razonyang.com/v0/en/docs/pwa/</link><pubDate>Fri, 03 Dec 2021 19:39:01 +0800</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/pwa/</guid><description>&lt;p>PWAs(&lt;a href="https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps" target="_blank" rel="noopener noreferrer">Progressive web apps&lt;i class="fas fa-external-link-square-alt ms-1">&lt;/i>&lt;/a>
) are web apps developed using a number of specific technologies and standard patterns to allow them to take advantage of both web and native app features.&lt;/p>
&lt;p>We are in the experimental stage of PWA, but some major features have been added, such as install site to home screen, precache files and available offline.&lt;/p></description></item><item><title>Archive Layout</title><link>https://hbs.razonyang.com/v0/en/docs/layouts/archives/</link><pubDate>Fri, 03 Dec 2021 11:16:51 +0800</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/layouts/archives/</guid><description>&lt;p>The archive page is a collection of posts grouped by year.&lt;/p></description></item><item><title>Search Layout</title><link>https://hbs.razonyang.com/v0/en/docs/layouts/search/</link><pubDate>Fri, 03 Dec 2021 11:16:51 +0800</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/layouts/search/</guid><description>&lt;p>It may be difficult for readers to retrieve an article in the case if there are many articles in your site, therefore, we added the search feature.&lt;/p></description></item><item><title>Author Widget</title><link>https://hbs.razonyang.com/v0/en/docs/widgets/author/</link><pubDate>Fri, 03 Dec 2021 11:10:19 +0800</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/widgets/author/</guid><description>&lt;p>The author widget is located in the sidebar, in order to introduce yourself briefly.&lt;/p></description></item><item><title>Reward Widget</title><link>https://hbs.razonyang.com/v0/en/docs/widgets/reward/</link><pubDate>Fri, 03 Dec 2021 11:10:19 +0800</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/widgets/reward/</guid><description>&lt;p>The reward widget, AKA buy me a coffee widget, gives the readers a way to support a creator through the use of donations or tips.&lt;/p></description></item><item><title>Social Links</title><link>https://hbs.razonyang.com/v0/en/docs/widgets/social-links/</link><pubDate>Thu, 02 Dec 2021 16:27:45 +0800</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/widgets/social-links/</guid><description>&lt;p>The &lt;code>social&lt;/code> parameter is a set of key value pairs of social links that mapping from platform to their user identifier.
It supports many popular social platforms, such as Twitter, Facebook, Reddit, GitHub.
This article lists all supported platforms and how to use them.&lt;/p></description></item><item><title>Contact Form</title><link>https://hbs.razonyang.com/v0/en/docs/layouts/contact-form/</link><pubDate>Tue, 30 Nov 2021 23:56:00 +0800</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/layouts/contact-form/</guid><description>&lt;p>We can put our email address on &lt;a href="https://hbs.razonyang.com/v0/en/docs/widgets/social-links/">social links&lt;/a>
so that readers can contact us. Unfortunately, emails will be more or less treated as spam and even filtered.
Therefore, we bring a feature called contact form.&lt;/p></description></item><item><title>Custom Assets</title><link>https://hbs.razonyang.com/v0/en/docs/custom-assets/</link><pubDate>Sun, 28 Nov 2021 16:00:49 +0800</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/custom-assets/</guid><description>&lt;p>As a customizable theme, it provides the ability to customize assets, whether it is customizing CSS and JS or introducing third-party CSS and JS.&lt;/p></description></item><item><title>Comments Widget</title><link>https://hbs.razonyang.com/v0/en/docs/widgets/comments/</link><pubDate>Sat, 27 Nov 2021 19:54:29 +0800</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/widgets/comments/</guid><description>&lt;p>&lt;a href="https://disqus.com/" target="_blank" rel="noopener noreferrer">Disqus&lt;i class="fas fa-external-link-square-alt ms-1">&lt;/i>&lt;/a>
and &lt;a href="https://utteranc.es/" target="_blank" rel="noopener noreferrer">Utterances&lt;i class="fas fa-external-link-square-alt ms-1">&lt;/i>&lt;/a>
comments widgets are supported out of box.
This article shows how to configure them and even customize your own comment widgets.&lt;/p></description></item><item><title>Get Involved</title><link>https://hbs.razonyang.com/v0/en/docs/get-involved/</link><pubDate>Sat, 27 Nov 2021 19:54:29 +0800</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/get-involved/</guid><description>&lt;p>We are happy to listen to your opinions and feedback, and welcome you to get involved.&lt;/p></description></item><item><title>Hooks</title><link>https://hbs.razonyang.com/v0/en/docs/hooks/</link><pubDate>Sat, 27 Nov 2021 19:54:29 +0800</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/hooks/</guid><description>&lt;p>As a flexible theme, it should have the ability to customize code and integrate third-party services. Therefore, we brought a feature called hook.&lt;/p>
&lt;p>In this article, we will introduce all hooks and provide some use cases.&lt;/p></description></item><item><title>Diagram Guide</title><link>https://hbs.razonyang.com/v0/en/posts/diagram/</link><pubDate>Wed, 01 Sep 2021 11:36:50 +0800</pubDate><guid>https://hbs.razonyang.com/v0/en/posts/diagram/</guid><description>&lt;p>This article offers a sample of basic diagram usage that can be used in Hugo content files.&lt;/p>
&lt;p>Please see also &lt;a href="https://mermaid-js.github.io" target="_blank" rel="noopener noreferrer">Mermaid&lt;i class="fas fa-external-link-square-alt ms-1">&lt;/i>&lt;/a>
.&lt;/p></description></item><item><title>Image Processing</title><link>https://hbs.razonyang.com/v0/en/docs/image-processing/</link><pubDate>Sun, 15 Aug 2021 14:19:06 +0800</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/image-processing/</guid><description>&lt;p>This article offers some use cases for showing how to resize and align images.&lt;/p></description></item><item><title>Markdown Syntax Guide</title><link>https://hbs.razonyang.com/v0/en/posts/markdown-syntax/</link><pubDate>Mon, 09 Nov 2020 00:00:00 +0000</pubDate><guid>https://hbs.razonyang.com/v0/en/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></item><item><title>Alert Shortcode</title><link>https://hbs.razonyang.com/v0/en/docs/shortcodes/alert/</link><pubDate>Thu, 22 Oct 2020 00:00:00 +0000</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/shortcodes/alert/</guid><description>&lt;p>This article shows how to use the &lt;code>alert&lt;/code> shortcode.&lt;/p></description></item><item><title>Media Shortcodes</title><link>https://hbs.razonyang.com/v0/en/docs/shortcodes/media/</link><pubDate>Thu, 22 Oct 2020 00:00:00 +0000</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/shortcodes/media/</guid><description>&lt;p>A detailed description of media shortcodes, such as Bilibili, Tencent, Youku, iQiyi and Netease Music.&lt;/p></description></item><item><title>Online IDE Shortcodes</title><link>https://hbs.razonyang.com/v0/en/docs/shortcodes/online-ide/</link><pubDate>Thu, 22 Oct 2020 00:00:00 +0000</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/shortcodes/online-ide/</guid><description>&lt;p>A detailed description of online IDE shortcodes, such as JSFiddle, CodePen, JSRun.&lt;/p></description></item><item><title>Rich Content</title><link>https://hbs.razonyang.com/v0/en/posts/rich-content/</link><pubDate>Sun, 10 Mar 2019 00:00:00 +0000</pubDate><guid>https://hbs.razonyang.com/v0/en/posts/rich-content/</guid><description>&lt;p>Hugo ships with several &lt;a href="https://gohugo.io/content-management/shortcodes/#use-hugo-s-built-in-shortcodes" target="_blank" rel="noopener noreferrer">Built-in Shortcodes&lt;i class="fas fa-external-link-square-alt ms-1">&lt;/i>&lt;/a>
for rich content, along with a &lt;a href="https://gohugo.io/about/hugo-and-gdpr/" target="_blank" rel="noopener noreferrer">Privacy Config&lt;i class="fas fa-external-link-square-alt ms-1">&lt;/i>&lt;/a>
and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.&lt;/p></description></item><item><title>Placeholder Text</title><link>https://hbs.razonyang.com/v0/en/posts/placeholder-text/</link><pubDate>Sat, 09 Mar 2019 00:00:00 +0000</pubDate><guid>https://hbs.razonyang.com/v0/en/posts/placeholder-text/</guid><description>&lt;p>Lorem est tota propiore conpellat pectoribus de pectora summo.&lt;/p></description></item><item><title>Math Typesetting</title><link>https://hbs.razonyang.com/v0/en/posts/math-typesetting/</link><pubDate>Fri, 08 Mar 2019 00:00:00 +0000</pubDate><guid>https://hbs.razonyang.com/v0/en/posts/math-typesetting/</guid><description>&lt;p>Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.&lt;/p></description></item><item><title>Emoji Support</title><link>https://hbs.razonyang.com/v0/en/posts/emoji-support/</link><pubDate>Tue, 05 Mar 2019 00:00:00 +0000</pubDate><guid>https://hbs.razonyang.com/v0/en/posts/emoji-support/</guid><description>&lt;p>Emoji can be enabled in a Hugo project in a number of ways.&lt;/p></description></item><item><title>About</title><link>https://hbs.razonyang.com/v0/en/about/</link><pubDate>Thu, 28 Feb 2019 00:00:00 +0000</pubDate><guid>https://hbs.razonyang.com/v0/en/about/</guid><description>Written in Go, Hugo is an open source static site generator available under the Apache Licence 2.0. Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows.
Hugo makes use of a variety of open source projects including:
https://github.</description></item><item><title>Contact Us</title><link>https://hbs.razonyang.com/v0/en/contact/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hbs.razonyang.com/v0/en/contact/</guid><description/></item><item><title>FAQs</title><link>https://hbs.razonyang.com/v0/en/faq/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hbs.razonyang.com/v0/en/faq/</guid><description/></item><item><title>Level 4</title><link>https://hbs.razonyang.com/v0/en/docs/level-1/level-2/level-3/level-4/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hbs.razonyang.com/v0/en/docs/level-1/level-2/level-3/level-4/</guid><description>&lt;p>Unlimited level of documentation catalog.&lt;/p></description></item><item><title>Offline</title><link>https://hbs.razonyang.com/v0/en/offline/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hbs.razonyang.com/v0/en/offline/</guid><description/></item></channel></rss>