Hugo

Hugo

January 1, 2020
Hugo, Go, Golang, static contents

Hugo # What’s Hugo? # Hugo is a fast and flexible static site generator made of Golang. https://gohugo.io/about/ Preparation # Create a git repository using GitHub # Repositories > New Repository name: sample Click “Create repository” Install Hugo on macOS # $ brew install hugo Build a blog using Hugo # $ GITHUB_USERNAME=xxxx $ GIT_REPOSITORY=sample $ hugo new site ${GIT_REPOSITORY} $ cd ${GIT_REPOSITORY} $ echo "# ${GIT_REPOSITORY}" >> README.md Initialize git # $ git init If you want to change the configrations of git ...