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。這可以通過...

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.

社交連結social參數是一組平臺映射到用戶標識的鍵值對。 其支持很多熱門的社交平臺,比如Twitter、Facebook、Reddit、GitHub。 本文列出了所有受支持的平臺,及其使用方法。