Welcome to Hugo (from Jekyll)


Welcome to my wholly reworked website! This time, I’ve dropped the complexity of Wordpress and opted for something significantly simpler: Jekyll Hugo and GitHub.

Having now hosted the site in GitHub Pages, here was the process I started with Hugo:

  1. Created the Github Pages repo (rterakedis.github.io) – this is where github pages looks for the blog’s generated site files.
  2. Created a 2nd Github repo: rterakedis.github.io.hugo – this repo holds the source files for Hugo to parse and generate the site.
  3. Added the GH Pages repo (rterakedis.github.io) as a submodule for rterakedis.github.io.hugo
  4. Edited the config.toml in the hugo files to include the following:
  • baseURL = "https://blog.euc-rt.me/"
  • publishdir = "rterakedis.github.io"
  1. Add the CNAME file into the rterakedis.github.io repo and enable the custom name/https in the repo settings
  2. Ensure the output from hugo builds into the rterakedis.github.io directory in my local rterakedis.github.io.hugo directory
  3. Commit and push everything to GitHub

A few quick links that I found particularly helpful when I was working with Jekyll: