GitHub Pages with Hugo

hugo static site generator

This year (2022) I have put together major updates to two web sites. Liking Go, therefore Hugo was used to generate the static content site and GitHub Pages to host both of them. Namecheap.com is my domain registrar. I used two different methods to host and deploy them.

METHOD 1 (TWO REPOSITORIES)

A little background about the content of the first site Daoyin Chuan which uses the two repository method. It is a web site that honors my mentor and sifu Fong Ha. I used is a very Zen like theme named Dimension.

This method requires two repositories. The first one is private and the other public. The private repository contains the sources used to generate the static web site. I named the private repository ‘daoyinchuan.source’. The public repository I named daoyinchuan.github.io. NOTE: I put these two repositories into my GitHub Organization “Daoyin Chuan”.

METHOD 2 (SINGLE REPOSITORY)