Hugo - Build and Deploy With GitHub Actions

要使用 GitHub Actions 建置並部署 Hugo 到 GitHub Pages,先要切到 GitHub Pages Repository 下的 Settings/Pages 頁面,在 Build and deployment 的 Source 這邊選用 GitHub Actions。 ...

April 9, 2024 · 1 min · 321 words · Larry Nung

Hugo - Add Content

Hugo 站台建立完後可以開始為站台加入文章,透過 Hugo 的 new content 命令,帶入文章檔名建立 Hugo 文章。 ...

April 8, 2024 · 1 min · 156 words · Larry Nung

Hugo - Create a Site

Hugo 裝完後,首先需要先建立站台,透過 Hugo 的 new site 命令,帶入站台的名稱。 ...

April 8, 2024 · 1 min · 139 words · Larry Nung

Hugo - Install Hugo on MacOS

Hugo 在 MacOS 下可直接透過 Homebrew 安裝。 brew install hugo ...

April 6, 2024 · 1 min · 87 words · Larry Nung