Template lookup problem with v0.146.1

  1. This is a v2 of the template system. You are supposed to upgrade your templates to the new setup.
  2. I spent lots of time trying to map the old logic into the new setup. This is logic built up over a decade that’s complex and very hard to understand. I think I got it mostly right, but you have discovered a hole.

Unless a very common construct, we (I) are not spending time adjusting the new setup to be compatible.

I assumed that there would be some level of noise in this release, but we really needed to do this. A general advice to people who see issues like the above:

  • If there’s an easy and obvious adjustment, do that.
  • Else, use the previous Hugo version for a while, until better documentation about how the new works and how to adjust.