You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run hugo serve --themesDir ../.. to try to run the example site, I get the following:
Start building sites …
hugo v0.111.3+extended linux/arm64 BuildDate=2023-03-16T08:41:31Z VendorInfo=debian:0.111.3-1
ERROR 2024/03/02 08:40:03 render of "page" failed: "/home/bronwynbiro/hugo-blog/themes/blist/layouts/_default/baseof.html:3:6": execute of template failed: template: _default/single.html:3:6: executing "_default/single.html" at <partial "head.html" .>: error calling partial: "/home/bronwynbiro/hugo-blog/themes/blist/layouts/partials/head.html:21:9": execute of template failed: template: partials/head.html:21:9: executing "partials/head.html" at <hugo>: can't evaluate field IsServer in type interface {}
ERROR 2024/03/02 08:40:03 render of "page" failed: "/home/bronwynbiro/hugo-blog/themes/blist/layouts/_default/baseof.html:3:6": execute of template failed: template: _default/single.html:3:6: executing "_default/single.html" at <partial "head.html" .>: error calling partial: "/home/bronwynbiro/hugo-blog/themes/blist/layouts/partials/head.html:21:9": execute of template failed: template: partials/head.html:21:9: executing "partials/head.html" at <hugo>: can't evaluate field IsServer in type interface {}
ERROR 2024/03/02 08:40:03 render of "page" failed: "/home/bronwynbiro/hugo-blog/themes/blist/layouts/_default/baseof.html:3:6": execute of template failed: template: _default/single.html:3:6: executing "_default/single.html" at <partial "head.html" .>: error calling partial: "/home/bronwynbiro/hugo-blog/themes/blist/layouts/partials/head.html:21:9": execute of template failed: template: partials/head.html:21:9: executing "partials/head.html" at <hugo>: can't evaluate field IsServer in type interface {}
ERROR 2024/03/02 08:40:03 render of "page" failed: "/home/bronwynbiro/hugo-blog/themes/blist/layouts/_default/baseof.html:3:6": execute of template failed: template: _default/single.html:3:6: executing "_default/single.html" at <partial "head.html" .>: error calling partial: "/home/bronwynbiro/hugo-blog/themes/blist/layouts/partials/head.html:21:9": execute of template failed: template: partials/head.html:21:9: executing "partials/head.html" at <hugo>: can't evaluate field IsServer in type interface {}
Error: Error building site: failed to render pages: render of "page" failed: "/home/bronwynbiro/hugo-blog/themes/blist/layouts/_default/baseof.html:3:6": execute of template failed: template: _default/single.html:3:6: executing "_default/single.html" at <partial "head.html" .>: error calling partial: "/home/bronwynbiro/hugo-blog/themes/blist/layouts/partials/head.html:21:9": execute of template failed: template: partials/head.html:21:9: executing "partials/head.html" at <hugo>: can't evaluate field IsServer in type interface {}
Built in 140 ms
Has anyone dealt with this/know how to fix it?
The text was updated successfully, but these errors were encountered:
hi,
you could try to remove lines starting from 21 till 30 in the /home/bronwynbiro/hugo-blog/themes/blist/layouts/partials/head.html. it worked for me.
hi, you could try to remove lines starting from 21 till 30 in the /home/bronwynbiro/hugo-blog/themes/blist/layouts/partials/head.html. it worked for me.
For me this was an issue with the hugo version. you need at least v0.120.0 for the isServer flag to be set. On ubuntu the apt-repository version is way too old.
When I run
hugo serve --themesDir ../..
to try to run the example site, I get the following:Has anyone dealt with this/know how to fix it?
The text was updated successfully, but these errors were encountered: