I run hugo for several years now and it suddenly stopped working.
Today I created a new blog post in content/posts/2025/RaspberryPi-Wallboard/index.md
I run hugo and get the expected build output
Start building sites …
hugo v0.147.9+extended+withdeploy linux/amd64 BuildDate=unknown
│ EN
──────────────────┼─────
Pages │ 302
Paginator pages │ 10
Non-page files │ 109
Static files │ 16
Processed images │ 21
Aliases │ 2
Cleaned │ 0
Total in 847 ms
On the landing page I see the title and the ferst few sentences of the post as expected, but if I click the title, i get a 404.
I clearly see that the directory and the HTML does not exist.
If I run hugo -d tmp I get a folder structure with all the static files (images) but no html file.
I expected an error but instead I just get a broken version.
Unfortunately I can’t say what version I ran when it worked the last time, now I run v0.147.9
But do read this if you want to know why it existed. Hint: it had something to do with themes being able to target the .Type ‘page’ through the templating structure. This is no longer possible, so it is related to this possible bug/breaking change.