Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Doesn't build on newset hugomods/hugo image #73

Closed
ekamil opened this issue May 28, 2023 · 2 comments
Closed

Doesn't build on newset hugomods/hugo image #73

ekamil opened this issue May 28, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@ekamil
Copy link

ekamil commented May 28, 2023

What happened?

I tried updating from hugomods/hugo:exts-0.111.3 to hugomods/hugo:exts-0.112.4 and got this error:

server-1  | Error: error building site: render: failed to render pages: render of "home" failed: "/tmp/hugo_cache/modules/filecache/modules/pkg/mod/github.com/jpanther/lynx@v1.2.4/layouts/_default/baseof.html:3:6": execute of template failed: template: index.html:3:6: executing "index.html" at <partial "head.html" .>: error calling partial: "/tmp/hugo_cache/modules/filecache/modules/pkg/mod/github.com/jpanther/lynx@v1.2.4/layouts/partials/head.html:87:5": execute of template failed: template: partials/head.html:87:5: executing "partials/head.html" at <partialCached "analytics.html" .Site>: error calling partialCached: "/tmp/hugo_cache/modules/filecache/modules/pkg/mod/github.com/jpanther/lynx@v1.2.4/layouts/partials/analytics.html:1:15": execute of template failed: template: partials/analytics.html:1:15: executing "partials/analytics.html" at <.Site.IsServer>: can't evaluate field Site in type *page.siteWrapper

Downgrading to 0.111.3 helps.

Theme version

v1.2.4

Hugo version

0.112.4

What browsers are you seeing the problem on?

Firefox, Chrome

Relevant Hugo log output

Error: error building site: render: failed to render pages: render of "home" failed: "/var/folders/mv/q74h0d1x6bn73ksdktclhl5c0000gn/T/com.apple.shortcuts.mac-helper/hugo_cache/modules/filecache/modules/pkg/mod/github.com/jpanther/lynx@v1.2.4/layouts/_default/baseof.html:3:6": execute of template failed: template: index.html:3:6: executing "index.html" at <partial "head.html" .>: error calling partial: "/var/folders/mv/q74h0d1x6bn73ksdktclhl5c0000gn/T/com.apple.shortcuts.mac-helper/hugo_cache/modules/filecache/modules/pkg/mod/github.com/jpanther/lynx@v1.2.4/layouts/partials/head.html:87:5": execute of template failed: template: partials/head.html:87:5: executing "partials/head.html" at <partialCached "analytics.html" .Site>: error calling partialCached: "/var/folders/mv/q74h0d1x6bn73ksdktclhl5c0000gn/T/com.apple.shortcuts.mac-helper/hugo_cache/modules/filecache/modules/pkg/mod/github.com/jpanther/lynx@v1.2.4/layouts/partials/analytics.html:1:15": execute of template failed: template: partials/analytics.html:1:15: executing "partials/analytics.html" at <.Site.IsServer>: can't evaluate field Site in type *page.siteWrapper
@ekamil ekamil added the bug Something isn't working label May 28, 2023
@Hate9
Copy link

Hate9 commented Jun 1, 2023

Can confiirm, I am also having this issue.
Jpanther appears to be aware of this issue, as they have posted an issue about this on another of their themes (congo).

@jpanther
Copy link
Owner

jpanther commented Jun 4, 2023

Thanks for the report. This will be fixed in the next theme release.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants