If Van Gogh painted user interface themes...

Using Hugo Modules for themes

Did you know Hugo has this feature called Modules? Apparently built on the same concepts of Go Modules, which shouldn’t be a surprise. So having used all my hugo themes so far as Git Submodules, I wanted to switch over to this method. Hugo modules are considered to be the building blocks of Hugo. It is the Hugo way of modularising your static website. Apparently you can create a theme as a module and content as another module and use them together in a third module to serve as your static website....

April 1, 2024 · 3 min · 513 words
Futuristic Humanoid optimising the algorithm for searching a word

Updating PaperMod to the latest and greatest

This post is more of a note to self. PaperMod Update So last week, after a very long time, I actually spent some time doing some housekeeping on this blog. I decided to check hugo versions and what’s new on paperMod. Found that there were lots of new things. Pulled in the latest and built the site only to realise it broke! How did you get the latest version? git submodule update --recursive --remote So some of the features introduced in the latest version of PaperMod wasn’t supported in the version of Hugo that I had running which was v0....

February 6, 2024 · 2 min · 349 words · eakangk
A stylish girl in formal attire posing for a picture in Oxford Street

Style Modifications to Hugo PaperMod

I wanted to give a shout out to a Github Repository that I came across, which hosted some custom CSS for modifying the look of papermod by a tiny bit. I thought I’d try it and hence the shout out. Checkout hugo-PaperMod-Mod. The styles include: thumbnails sidebar table of contents wider posts on landing page

February 2, 2024 · 1 min · 55 words · eakangk

Hugo Partial for Buy me a coffee button

So you have started using Hugo for your website or blog or whatever you have built and you came across something called Shortcode. If Hugo were a programming language, shortcodes would be sub-routines, or reusable units of code. - Eakan But the truth is Hugo is not a programming language. It is a static site generator that generates content based on markdown files. Markdown syntax is pretty limited. So how do you make your website as attractive and engaging as any other modern website with these limitations?...

December 26, 2023 · 4 min · 785 words · eakangk

Client Side Search for your Hugo Blog with Fuse.js

Featured Image is “Search!” by Jeffrey Beall is licensed with CC BY-ND 2.0. To view a copy of this license, visit https://creativecommons.org/licenses/by-nd/2.0/ In an earlier post about migrating from wordpress to self hosted on Azure, I took you through some steps to host a blog on Hugo. But I don’t know if you realised the blog didn’t have a search function. I couldn’t really search for articles! That I felt was a step back from my wordpress blog where I had the ability to search....

May 1, 2021 · 8 min · 1620 words