Quick fix: Hugo 0.146 'failed to parse' error

Whilst rebuilding the theme behind this site I bumped Hugo past 0.146 and watched the build fall over with template parse errors. The fix is small if your theme is close to the standard layout, but the underlying changes are bigger than I first thought. In this post I&rsquo;ll cover the quick fix that unblocks most builds, and where to read the rest.