TL;DR: I have rewritten the Hugo Tanka theme entirely using Bootstrap 4 while still keeping its original look and feel. This should also fix the compatibility issues from Hugo version updates.
Almost three years ago, when I first started blogging with Hugo/blogdown, I forked and modified a Hugo theme Black & Light, and named it Tanka (Repo, Live Preview).
Hugo has received several major updates in the past three years. The most significant update for me was replacing the default Markdown engine Blackfriday with Goldmark in 0.60.0. If you have been using services like Netlify where the Hugo version can be specified, you might not experience too many issues so far. However, as a person who uses Homebrew and still has to compile Hugo sites locally, it is painful to stay on a non-latest version. I started to receive bug reports that the theme does not work correctly. Eventually, a conversation with some RStudio folks on GitHub motivated me to update the theme.
To do a decent update, I chose to completely revamp its entire codebase with Bootstrap 4, which has been instrumental for another previous Hugo theme, Renga. The look is almost the same — with slight adjustments. To give it a stamp of authenticity and better discoverability, I have submitted it to the official Hugo theme gallery.
Please note that some of the fields in config.toml
have changed. You may consult the latest version in the example site for the current naming scheme. I removed the tracker-embedded analytics and commenting options and added support for the (optional) utterances comment system.
Oh, if you have ever wondered, the example long title on the live preview site is from Aoife O’Donovan’s song Detour Sign.