A bug in tumblelog
Yesterday I noticed that the Archive section of this blog had a 2026 link while I hadn't blogged yet thanks to the email notification I got from Ahrefs. Inside the message it mentioned a critical 4XX page. When I checked my blog, I noticed that the 404 was caused by the Archive section: the first week of januari 2026 starts in 2025, hence there was already a 2026 link.
Today I came up with a solution: keeping track of years blogged and using that to decide if the year is a link or not. So I increased the version to 6.0.0. The change log is as follows:
- Fix year bug in archive creation: a year could show up while it wasn't available
- Use
utf-8inread_entriesto make it more consistent intumblelog.py
As usual the latest version is available on GitHub.