From commit 65c2720 - lazy load cover images in lists only - running hugo server leads to an error. Specifically, it throws an error while executing file "partials/cover.html" at line 4, with the message at <$.IsSingle>: invalid value; expected bool
Device/Os: MacOS
Type: Desktop
Hugo Version [ >=0.112.4 expected]: v0.122.0
Theme Version [e.g. v4.0, master, or commit-id ]: 65c2720
In my config.yml, I have the following which has been working fine until this commit:
cover:
hidden: false # hide everywhere but not in structured data
hiddenInList: false # hide on list pages and home
hiddenInSingle: true # hide on single page
FULL ERROR message
```bash
ERROR render of "term" failed: "/Users/hugosite/layouts/_default/list.html:77:6": execute of template failed: template: _default/list.html:77:6: executing "main" at : error calling partial: "/Users/hugosite/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
Built in 25 ms
Error: error building site: render: failed to render pages: render of "section" failed: "/Users/hugosite/layouts/_default/list.html:77:6": execute of template failed: template: _default/list.html:77:6: executing "main" at : error calling partial: "/Users/hugosite/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
```
Steps to reproduce the behavior:
Checkout commit 65c2720 of PaperMod
Run hugo server
Expected behavior:
Server should run without error. Commits before 65c2720 works fine.
I'd really appreciate help to solve this bug. Thanks for the great theme!
Describe the bug
From commit 65c2720 - lazy load cover images in lists only - running
hugo server
leads to an error. Specifically, it throws an error while executing file"partials/cover.html"
at line 4, with the messageat <$.IsSingle>: invalid value; expected bool
In my
config.yml
, I have the following which has been working fine until this commit:FULL ERROR message
```bash ERROR render of "term" failed: "/Users/hugosite/layouts/_default/list.html:77:6": execute of template failed: template: _default/list.html:77:6: executing "main" atSteps to reproduce the behavior:
hugo server
Expected behavior: Server should run without error. Commits before 65c2720 works fine.
I'd really appreciate help to solve this bug. Thanks for the great theme!