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:...
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...
In this post we explore the docs
layout that can be used to publish project documentation, a Personal Knowledge Base (PKM), a Digital Garden, a Second Brain, a Zettelkasten, your notes, and more.