使用 Git Submodule 安裝 Hextra 主題
Hextra 主題有多種安裝方式,若想修改 Hextra 主題,且想獲得最乾淨的原始 Hugo 專案,則要使用 Git Submodule 方式安裝。
Hextra 主題有多種安裝方式,若想修改 Hextra 主題,且想獲得最乾淨的原始 Hugo 專案,則要使用 Git Submodule 方式安裝。
Hugo 是由 Go 所寫的 SSG,也是目前 JAMstack 下最快的 SSG。
Install Doks theme with the default configuration.
Install Congo theme with the default configuration and the example site. Congo theme is built with TailwindCSS 3.2.
Install Book theme with the default configuration and the example site.
Install Geekdoc theme with the default configuration.
Not only using Hugo’s variables with Go template language, but also Alpine’s directive.
The Go Templates make heavy use of range to iterate over a Map, Array, or Slice.
We can use range to iterate over an array to render HTML.
For site-level custom data, we can store them on the params section of config.json.