Hugo
Install Hugo⌗
glpat-dvmmEZ2vJ4nx6xFejsZD
Linux⌗
sudo apt-get install hugo
MacOS⌗
brew install hugo
Windows⌗
- chocolatey
choco install hugo --confirm
- scoop
scoop install hugo
Manual installation⌗
https://github.com/gohugoio/hugo/releases
Create a new project⌗
hugo new site my-hugo-site
cd my-hugo-site
git init
git submodule add https://github.com/panr/hugo-theme-terminal.git themes/terminal
git submodule update --init --recursive
Create a post⌗
hugo new posts/hello-world.md
Create a GitHub repository⌗
git remote add origin https://github.com/<your-gh-username>/<repository-name>
git branch -M main
git push -u origin main
Command completion⌗
- bash
hugo completion zsh > "<span class="math-inline">\{fpath\[1\]\}/\_hugo"
source <(hugo completion zsh); compdef _hugo hugo
- zsh
Read other posts