adityatelange / hugo-PaperMod

A fast, clean, responsive Hugo theme.
https://adityatelange.github.io/hugo-PaperMod/
MIT License
9.53k stars 2.58k forks source link

Errors when updating PaperMod #1443

Closed NatHarari closed 6 months ago

NatHarari commented 6 months ago

I updated to the latest version just now of PaperMod after updating Hugo to Hugo v0.123.6 with brew. But when running hugo -t papermod, I get the following error:

Start building sites … hugo v0.123.6-92684f9a26838a46d1a81e3c250fef5207bcb735+extended darwin/arm64 BuildDate=2024-02-28T18:29:40Z VendorInfo=brew

ERROR render of "page" failed: "/Users/natharari/Documents/0_Files/08_Website/neurolog/layouts/_default/single.html:25:6": execute of template failed: template: _default/single.html:25:6: executing "main" at <partial "cover.html" (dict "cxt" . "IsHome" false "isHidden" $isHidden)>: error calling partial: "/Users/natharari/Documents/0_Files/08_Website/neurolog/themes/PaperMod/layouts/partials/cover.html:4:22": execute of template failed: template: partials/cover.html:4:22: executing "partials/cover.html" at <$.IsSingle>: invalid value; expected bool
Total in 59 ms
Error: error building site: render: failed to render pages: render of "page" failed: "/Users/natharari/Documents/0_Files/08_Website/neurolog/layouts/_default/single.html:25:6": execute of template failed: template: _default/single.html:25:6: executing "main" at <partial "cover.html" (dict "cxt" . "IsHome" false "isHidden" $isHidden)>: error calling partial: "/Users/natharari/Documents/0_Files/08_Website/neurolog/themes/PaperMod/layouts/partials/cover.html:4:22": execute of template failed: template: partials/cover.html:4:22: executing "partials/cover.html" at <$.IsSingle>: invalid value; expected bool

I'm pretty sure that it's user-end related, but I'm not quite sure what to make of it, or what the solution is.

adityatelange commented 6 months ago

Can't reproduce. You might have made any custom changes to theme pull from upstream. https://github.com/adityatelange/hugo-PaperMod/commit/b288ede80cbd70151e2f07f2e09ad6258e64f7fa