Blazing fast Website, little to no effort

First of all, here’s some context:

I’ve been wanting to make a website for quite a while and I was not ready to invest a lot of time into into it. Therefore the obvious path for me to take was that of WordPress. So back in September, that’s what I did…

Allow me to emphasize that what I think of WordPress is a personal viewpoint and not a ‘comprehensive fact based inference’. Now that the disclaimer is out of the way, let me start the rant with:

I hate it.

I hate the whole Plugin junkie atmosphere, with that blatant unapologetic rigidity in it’s layout.

I hate that a turn down every other street ends in a pretty high paywall. I’m just one of those who when stood between slightly better aesthetics and almost insignificant performance gain, rush for the latter.

When I found that I could have both without learning everything from scratch, my feelings could only be described as an amalgamation of ‘hold my beer’ and ‘where do I sign up’.

Back to the future:

Since I’m always late to the party, I didn’t know about the existence of Static Site Generators. On reading more, I just knew they were perfect for my use case. The two front runners to Static Site Generators are Jekyll and Hugo. Both of them are open source and amazing, but I absolutely fell in love with Hugo.

Hugo is based is on Golang and it claims to be the fastest framework for building websites. It’s fast, minimalistic, has a decent community and an increasing amount of people are switching over to it.

Since I run Ubuntu 17.10 sudo apt install hugo was enough to get me up and running. I wanted a website, so I asked Hugo to make me one.

How?

sudo hugo new site ~/Documents/Websites/livetoideate

Now Hugo is so barebones that it does not ship with a default theme installed. There are a beautiful selection of themes on their website. Most of them simple and minimalistic. I picked one I liked, then navigated to the empty themes folder inside the livetoideate folder and pasted it there.

All that was left to do was to edit the values of config.toml file on the root of livetoideate. Make sure to set the theme name to that you have pasted in the themes.

There. Poof. Done. Website is Ready.

Well I wanted to test it!

cd ~/Documents/Websites/livetoideate hugo server

At localhost:1313 we can see the fruits of our hard (not all that hard to be honest) work.

What is baffling is how elegent, intuitive and easy this solution is..

I spent the rest of the time learning from the incredible Hugo docs and forums, how to go about customizing the website to my needs i.e. getting a navbar up and running, changing the UI etc. There is a lot of information up there on how to host and deploy your website as well.

comments powered by Disqus