When I run 'hugo' to generate the public folder which can then be pushed to my website, I get the following error:
"cadet@MacBook-Pro debugging_site % hugo
Start building sites …
hugo v0.118.2-da7983ac4b94d97d776d7c2405040de97e95c03d+extended darwin/amd64 BuildDate=2023-08-31T11:23:51Z VendorInfo=brew
ERROR render of "home" failed: "/Users/cadet/Desktop/personal/debugging_site/themes/researcher/layouts/_default/baseof.html:15:12": execute of template failed: template: index.html:15:12: executing "index.html" at <partial "consent.html" .>: error calling partial: "/Users/cadet/Desktop/personal/debugging_site/themes/researcher/layouts/partials/consent.html:50:50": execute of template failed: template: partials/consent.html:50:50: executing "partials/consent.html" at <where .Site.Data.consent.items "is_functional" false>: error calling where: can't iterate over
ERROR render of "taxonomy" failed: "/Users/cadet/Desktop/personal/debugging_site/themes/researcher/layouts/_default/baseof.html:15:12": execute of template failed: template: _default/list.html:15:12: executing "_default/list.html" at <partial "consent.html" .>: error calling partial: "/Users/cadet/Desktop/personal/debugging_site/themes/researcher/layouts/partials/consent.html:50:50": execute of template failed: template: partials/consent.html:50:50: executing "partials/consent.html" at <where .Site.Data.consent.items "is_functional" false>: error calling where: can't iterate over
Total in 76 ms
Error: error building site: render: failed to render pages: render of "taxonomy" failed: "/Users/cadet/Desktop/personal/debugging_site/themes/researcher/layouts/_default/baseof.html:15:12": execute of template failed: template: _default/list.html:15:12: executing "_default/list.html" at <partial "consent.html" .>: error calling partial: "/Users/cadet/Desktop/personal/debugging_site/themes/researcher/layouts/partials/consent.html:50:50": execute of template failed: template: partials/consent.html:50:50: executing "partials/consent.html" at <where .Site.Data.consent.items "is_functional" false>: error calling where: can't iterate over "
At first I thought it was an old version of hugo (nope) or else something I had done to mess up the config file. I tried create a new hugo site from scratch (following the official guide, and then the instructions in this repo) but came across an identical error.
It seems to be specifically this theme that has this issue. Any idea what's going wrong here?
When I run 'hugo' to generate the public folder which can then be pushed to my website, I get the following error:
"cadet@MacBook-Pro debugging_site % hugo Start building sites … hugo v0.118.2-da7983ac4b94d97d776d7c2405040de97e95c03d+extended darwin/amd64 BuildDate=2023-08-31T11:23:51Z VendorInfo=brew
ERROR render of "home" failed: "/Users/cadet/Desktop/personal/debugging_site/themes/researcher/layouts/_default/baseof.html:15:12": execute of template failed: template: index.html:15:12: executing "index.html" at <partial "consent.html" .>: error calling partial: "/Users/cadet/Desktop/personal/debugging_site/themes/researcher/layouts/partials/consent.html:50:50": execute of template failed: template: partials/consent.html:50:50: executing "partials/consent.html" at <where .Site.Data.consent.items "is_functional" false>: error calling where: can't iterate over
ERROR render of "taxonomy" failed: "/Users/cadet/Desktop/personal/debugging_site/themes/researcher/layouts/_default/baseof.html:15:12": execute of template failed: template: _default/list.html:15:12: executing "_default/list.html" at <partial "consent.html" .>: error calling partial: "/Users/cadet/Desktop/personal/debugging_site/themes/researcher/layouts/partials/consent.html:50:50": execute of template failed: template: partials/consent.html:50:50: executing "partials/consent.html" at <where .Site.Data.consent.items "is_functional" false>: error calling where: can't iterate over
Total in 76 ms
Error: error building site: render: failed to render pages: render of "taxonomy" failed: "/Users/cadet/Desktop/personal/debugging_site/themes/researcher/layouts/_default/baseof.html:15:12": execute of template failed: template: _default/list.html:15:12: executing "_default/list.html" at <partial "consent.html" .>: error calling partial: "/Users/cadet/Desktop/personal/debugging_site/themes/researcher/layouts/partials/consent.html:50:50": execute of template failed: template: partials/consent.html:50:50: executing "partials/consent.html" at <where .Site.Data.consent.items "is_functional" false>: error calling where: can't iterate over "
At first I thought it was an old version of hugo (nope) or else something I had done to mess up the config file. I tried create a new hugo site from scratch (following the official guide, and then the instructions in this repo) but came across an identical error. It seems to be specifically this theme that has this issue. Any idea what's going wrong here?