code-toggle
shortcode 根據任意支持的配寘程式碼,生成多種格式等效的程式碼塊。
Hugo Bootstrap Theme(HBS) 是一个快速、响应式、多用途和功能丰富的 Hugo 主题。其通常用于博客和文档站点。
在安装主题前,请确保你满足先决条件。
This article refers to the modern, up-to-date installation method of installing the theme locally as Hugo module. Proxy (Optional) If you’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$ export HUGO_MODULE_PROXY=https://goproxy.cn...
在本文中,我们将探讨 docs
布局,其可用来编写项目文档,个人笔记等。
我们预定义了两种类型的菜单:main
和 footer
,分别表示顶部的应用程序栏菜单和页脚菜单。
本文将简要介绍如何使用菜单。
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 Hugo module. 从头开始创建站点 1$ git clone https://github.com/razonyang/hugo-theme-bootstrap-skeleton myblog 2$ cd myblog 3$ git...
主要 Sections mainSections 参数用于过滤页面,默认为 ["posts", "docs"]。 1mainSections = ["blog", "posts", "docs", "notes"] Front Matter Front Matter is the place where we put page metadata and parameters, such as title, date and so on. Formats Hugo supports three formats of front matter: YAML, TOML and JSON. TOML: identified by...
Image viewer is an image gallery, it will be shown up when you click a non-linkable image.
It also provides many tools, such as zoom in, zoom out and rotate.