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. 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.

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