Skip to content

fix: Update theme to work with Hugo >= 0.146.0#173

Open
ffflorian wants to merge 1 commit intojpanther:devfrom
ffflorian:main
Open

fix: Update theme to work with Hugo >= 0.146.0#173
ffflorian wants to merge 1 commit intojpanther:devfrom
ffflorian:main

Conversation

@ffflorian
Copy link

@ffflorian ffflorian commented Mar 17, 2026

When using the theme with Hugo >= 0.146.0, the following error appears:

ERROR error building site: render: [en v1.0.0 guest] failed to render pages: render of "/" failed: "/Users/<username>/Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/jpanther/lynx@v1.4.0/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: "/Users/<username>/Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/jpanther/lynx@v1.4.0/layouts/partials/head.html:80:15":
execute of template failed: template: _partials/head.html:80:15: executing "_partials/head.html" at <.Site.Author.name>: can't evaluate field Author in type page.Site

This PR fixes these errors.

See https://gohugo.io/methods/site/params/ for more info.

@netlify
Copy link

netlify bot commented Mar 17, 2026

Deploy Preview for hugo-lynx ready!

Name Link
🔨 Latest commit 1730e5d
🔍 Latest deploy log https://app.netlify.com/projects/hugo-lynx/deploys/69b9ad6aa2424a00083e5f5e
😎 Deploy Preview https://deploy-preview-173--hugo-lynx.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant