Site banner image, showing the newly started bind9 server for the domain you are visiting.

 25.10.2020 site-news static-site-generator hugo

Sup, Hugo?

Jekyll is dead, long live Hugo

I was fed up with Jekyll since a while, since it can be very difficult to maintain. Ruby and bundler often do not work as expected, throw errors, a few packages in Jekyll are not supported anymore. On Windows, using Jekyll is even more Janky, even with WSL . So, I need something new. Looking around, not many SSG have been up to my personal liking, but Hugo was relatively easy to get into.

At first, I wasn’t very happy with it. Hugo relies on predefined template names, while Jekyll asks you to tell it, which layout to use. But, fortunately, Hugo can do the same, even if the function is a bit buried in the not always so clear documentation. Documentation these days is a luxury and wxWidgets still has the best documentation out there, in my not so humble opinion.

But, in the end, Hugo can do everything that Jekyll can, including Open Graph information, custom error pages, as well as generating a SQL file for the simple search solution I have whipped up for static websites. I wrote a new article on how to do a full text search with Hugo . Let me know what you think.

What was really great, is that it allows you to micro template things like html links, so I was able to add norefferer noopener nofollow to all external links for your privacy. Neat.

Another change is the adoption of bulma.css over materialize, I found it to be more compelling and now we have a partially full width layout on desktop. Mobile looks a lot better too. I have spent some time optimizing the page with Google PageSpeedInsights, I hope those optimzations are noticeable and my page provides a fast and snappy usability.

Anyway, thanks for being here and send comments or praise and cookies to contact@tuxstash.de.

Link to the author's twitter Link to the authors ko-fi page

comments

Characters: 0/1000

gravatar portrait

 Pinned by contact@tuxstash.de

Come join the discussion and write something nice. You will have to confirm your comment by mail, so make sure it is legit and not a throwaway. Only the name part of it will be displayed, so don't worry about spam. If it does not show up after confirming it, it may be considered spam, but I curate them manually, so don't worry. Please read the privacy statement for more.