本文列出了一些常见问题,以便你可以轻松解决它们。
Sections
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’re located at China mainland without VPN, the Hugo module download may fail. There are two proxies for this:...
在本文中,我们将探讨 docs
布局,其可用来编写项目文档,个人笔记等。
The starter template for newbie.
我们预定义了两种类型的菜单:main
和 footer
,分别表示顶部的应用程序栏菜单和页脚菜单。
本文将简要介绍如何使用菜单。
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. 从头开始创建站点# 1$ git clone...
Main Sections# mainSections 参数用于过滤页面,默认为 ["posts", "docs"]。 1mainSections = ["blog", "posts", "docs", "notes"] 内容类型# 你可能想在其他 Section 中使用 docs 布局,比如 /notes。这可以通过在 front matter 中设置 type = "docs" 实现。 文章原型# 我们也可以为 notes 创建一个原型,让 Hugo 处理 type。 1$ cp themes/hugo-theme-bootstrap/archetypes/default.md archetypes/notes.md...
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.
默认情况下,使用此主题的站点具有默认字体、颜色和总体外观。但是,默认方案不可能满足所有人的要求,但是不要担心,你可以轻松地覆盖主题默认值,例如调色板颜色、字体、语法高亮。