Error in "learn" theme after upgrade from hugo 0.71.0 to 0.71.1

Since the upgrade, I’m getting the following error inthe “learn” theme:

Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: _default/single.html:1:3: executing "_default/single.html" at <partial "header.html" .>: error calling partial: execute of template failed: template: partials/header.html:43:7: executing "partials/header.html" at <partial "menu.html" .>: error calling partial: "/Users/emile/github/better-bibtex/site/themes/learn/layouts/partials/menu.html:100:23": execute of template failed: template: partials/menu.html:100:23: executing "section-tree-nav" at <(not .Params.hidden) or $.showhidden>: can't give argument to non-function not .Params.hidden
1 Like

See https://github.com/gohugoio/hugo/issues/7317

We pulled in the latest Go template packages for this release, to get a fix. Looks like they have introduced a bug in the parser. Hmm…