So, the breaking change was introduced in 0.57, then partly rolled back in 0.57.1… Then introduced again in 0.58.
The short story is:
.Pages now works the same on all levels, including the home page. It goes down one level and includes both regular pages and sections.
We added a .RegularPages the patch some of the confusion
So, when you want to list “all pages” or something on the home page, you need to use site.RegularPages.
This change was unfortunate, and I probably waited to long before doing it – fearing the breakage. But in the end I closed my eyes and did it. All for a greater cause.
Why does that line leads to pages in subdirectories not being picked up? I guess directories are “categories”? Why is it even an option to not recurse into subdirs, what is the use-case?
That’s happening because hugo change their strategy in v0.58.0 to higher, for showing subdirs post use {{ range .Site.RegularPages}} instead of {{ range .Data.Pages }}
Would it make sense to update the documentation with this in mind (https://gohugo.io/templates/lists/)? I wasn’t having this problem last week (v0.59.0), so this was a bit of a surprise. Not sure why I didn’t see it before.
To be clear: for the specific case of @edrex’s site, it was breaking because of the misconfigured taxonomy:
category = ""
It should have been breaking pre-0.57. Some of the changes to Hugo since is what enabled it to break, as it should have been doing all along. In fact, removing the config line makes the site work again. No other changes were required, for this specific case.