Hugo is a static site generator written in Go, optimized for speed and designed for flexibility.

Install Hugo Link to heading

brew install hugo
  • Check Hugo Version
    • hugo version
  • Update Hugo
    • brew upgrade hugo
  • Create a new project
    • hugo new site my-hugo-site
  • Use theme
    • cd my-hugo-site
    • git init
    • git submodule add theme repository
    • echo “theme = ’theme name’” » hugo.toml
  • Create a post
    • hugo new content posts/hello-world.md
  • Deploy locally
    • hugo server
  • Deploy with Cloudflare Pages
  • Use a specific or newer Hugo version

Reference Link to heading