Unable to run Zen theme example site

@frjo I tried using the Zen theme and having an issue running the example site:

$ hugo server --themesDir ../..
Start building sites …
hugo v0.92.2+extended linux/amd64 BuildDate=2023-01-31T11:11:57Z VendorInfo=ubuntu:0.92.2-1ubuntu0.1
ERROR 2023/05/17 17:58:49 render of "page" failed: execute of template failed: template: _default/single.html:12:3: executing "_default/single.html" at <partial "math.html" .>: error calling partial: "/home/themes/zen/layouts/partials/math.html:1:32": execute of template failed: template: partials/math.html:1:32: executing "partials/math.html" at <.Page.Store.Get>: can't evaluate field Store in type page.Page
ERROR 2023/05/17 17:58:49 render of "home" failed: execute of template failed: template: index.html:12:3: executing "index.html" at <partial "math.html" .>: error calling partial: "/home/themes/zen/layouts/partials/math.html:1:32": execute of template failed: template: partials/math.html:1:32: executing "partials/math.html" at <.Page.Store.Get>: can't evaluate field Store in type page.Page
ERROR 2023/05/17 17:58:49 render of "page" failed: execute of template failed: template: _default/single.html:12:3: executing "_default/single.html" at <partial "math.html" .>: error calling partial: "/home/themes/zen/layouts/partials/math.html:1:32": execute of template failed: template: partials/math.html:1:32: executing "partials/math.html" at <.Page.Store.Get>: can't evaluate field Store in type page.Page
ERROR 2023/05/17 17:58:49 render of "page" failed: execute of template failed: template: _default/single.html:12:3: executing "_default/single.html" at <partial "math.html" .>: error calling partial: "/home/themes/zen/layouts/partials/math.html:1:32": execute of template failed: template: partials/math.html:1:32: executing "partials/math.html" at <.Page.Store.Get>: can't evaluate field Store in type page.Page
Error: Error building site: failed to render pages: render of "section" failed: execute of template failed: template: _default/list.html:12:3: executing "_default/list.html" at <partial "math.html" .>: error calling partial: "/home/themes/zen/layouts/partials/math.html:1:32": execute of template failed: template: partials/math.html:1:32: executing "partials/math.html" at <.Page.Store.Get>: can't evaluate field Store in type page.Page
Built in 301 ms

.Page.Store was added in v0. 93.0. You need to upgrade.

Thanks for that tip. Updating Hugo worked. The Zen theme readme.md needs updating. Created an issue to notify maintainer.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.