Standup, Hugo! Creating a Blog with Hugo

submited by
Style Pass
2021-10-24 02:30:06

Let’s quickly review what you’ll need to build a Hugo blog, and what it will mean to have a Hugo blog at the end of the process.

Before we begin, you’ll need a few things. I’ll list the essentials below (as well as my recommendations where relevant)

The good news: Hugo has excellent getting started documentation. My goal is to guide you through the process quickly, filling in any gaps.

A convenient detail about using Hugo is that is comes as a single binary, there is no complex environment to maintain! Nonetheless, we must install Hugo. On Macos, this is done by

The blog needs a place to live - create a GitHub Repo to store the code. Note: if you intend to host with GitHub Pages as is done here, the name of your repository must be <username>.github.io for users or <organization>.github.io for organizations. Clone your repo! We use ssh below, see GitHub SSH Key Guide for more detail if you need to setup SSH keys first.

Now run the Hugo command for creating a new site, with a specific name <sitename> for the output folder to be created in the repo

Leave a Comment