How to install hugo
- Install homebrew.
- Install git.
- Install hugo.
- Build a home page layout.
How to add a new page in hugo
hugo new
Reminders
Delete “public” folder before adding a new page in your site.
Commands
brew install hugo
brew upgrade hugo
hugo version
Cmd + K (clears terminal)
hugo server
Ctrl + C (kill the server)
cd .. (return)
code . (opens visual studio code)