I just released a new subjection for my book reading log: Series. It still needs to be filled with all the content but that will take some time. 📚I hope this subpage allows me to better track which series I still need to finish reading.

Hugo is so strange, I’ve worked on a shortcode, and it just did not want to work.

{{- $matched := where $allSeries "Params.lostInterest" false -}}

It took me nearly an hour to find the issue! The culprit was the camelCase spelling of lostInterest. As soon as I changed it to all lower case, it worked fine. But the big catch is that for simple rendering, the value this works:

{{Params.lostInterest}}

But in the where statement, it needs to be written like this: Params.lostinterest.

Ok just did some more googling and found out now that custom parameters should always be lower case and should use snake case instead of camel case.

I love Hugo for its render speed, but the documentation could be better. Somehow I continuously run into issues that need quite convoluted solutions to solve. Today’s problem is to get absolute URLs for image links in the content part, so my images work correctly in the feeds. It looks like this is a solution Oo.

It looks like Amazon changed their ebooks details page once again, and my scraping code does no longer work. It would be nice when they would just over an API.

Homepage History (v1-v6)

With the release of Version 7, it is time again to document my old homepage designs. So I don’t lose this information in the past. This post contains a list of all my homepage designs over time. I like to keep a log of how the homepage has changed since it’s inception. The list is complete, but between version five and six, there was quite a long gap where the homepage was not online at all.

Read 18 remaining paragraphs...