Luigi Pizzolito's Logo

Switching from Jekyll to Hugo

Blog Static Website Generation with Jekyll

Previously, the blog section of my website was created with Jekyll. I made my own HTML templates with the Website theme, and Jekyll and Liquid was then used to create the pages from markdown posts.

Issues

While it works, it was very cumbersome. I was unable to install gulp on MacOS because of ruby version differences and ended up using an Arch Linux VM running inside of Virtual Box to compile my site. Additionally, the guide I followed was outdated and used a very old version of Node.JS to host a live testing server, automatic minify, SASS compiler, etc. So old that I had to use Node Version Manager to install the correct Node version.

This meant that I could not restore the toolchain if I needed to, for example migrate it to another computer, as I was also not using Virtual Box anymore (moved onto KVM after switching to Arch Linux for daily drive).

Switching to Hugo

After learning and completing some projects in Golang, I quite enjoyed the features of the language and came across Hugo, which looks to be a modern and fast replacement of Jekyll. Setting it up was quick and the installation was painless, as Go compiles into raw binaries and has small dependencies (unlike the dreaded node_modules folder).

I picked the Poison theme as a base, since its similar to the theming I made for my original website. I then tweaked it to fit the previous style while cleaning the design a bit.

Categories
Tags