author avatar

Razon Yang

Gopher, PHPer, Full Stack Engineer.
总共 30 篇文章

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. See also Page Parameters and Hugo Front Matter. 内容类型# 你可能想在其他 Section 中使用 docs 布局,比如 /notes。这可以通过...

社交链接 social 参数是一组平台映射到用户标识的键值对。 其支持很多热门的社交平台,比如 Twitter、Facebook、Reddit、GitHub。 本文列出了所有受支持的平台,及其使用方法。