HUGO Static Site Hosted on GitHub Pages - Part 1: Intro

The following series of posts will walk through the process I used to create and build this HUGO site, hosted in GitHub Pages. Everything required in the following posts is free. HUGO/templates, GitHub Pages, GitHub Actions is all free to use. What is HUGO? HUGO is an open source static site generator written in GO. I chose HUGO because it looked simple to get started, all posts are written in markdown, and was compatible with GitHub pages....

April 4, 2021 · 2 min · Mark kerry

HUGO Static Site Hosted on GitHub Pages - Part 2: Create the Site

Assuming at this stage you have installed all the prerequisite apps required in Part 1 to get started with HUGO: Git, GitHub Desktop, and HUGO. The Official HUGO getting started docs are a great resource to read through and recommend you get started there if you are having any trouble following the below. Create the Site Browse to your local directory where you want to keep the site’s source files, and enter the following commands to create the site (change markkerry to your GitHub username)....

April 4, 2021 · 2 min · Mark kerry

HUGO Static Site Hosted on GitHub Pages - Part 3: Build and Deploy

Now that we’ve created our site and first post, we can start creating the repos to build, deploy and host the static site. Create the Two GitHub Repositories Browse to GitHub and create two new repos. More info on how to do this can be found here The two repos will be named as follows: username-hugo (mine is markkerry-hugo) username.github.io (mine is markkerry.github.io) The username-hugo repo is where we are going to commit our site to....

April 4, 2021 · 4 min · Mark kerry