Hi all,
I’m using Hugo on macOS with two blogs, I normally use Homebrew. I use the theme mini. Yesterday, when running hugo server
, I noticed the following errors:
Start building sites …
hugo v0.113.0-085c1b3d614e23d218ebf9daad909deaa2390c9a darwin/arm64 BuildDate=2023-06-05T15:04:51Z VendorInfo=gohugoio
ERROR 2023/06/14 08:33:31 render of "page" failed: "/Users/scaglio/Gitea/godsip-club/themes/mini/layouts/_default/baseof.html:11:7": execute of template failed: template: _default/single.html:11:7: executing "_default/single.html" at <partial "navigation.html" .>: error calling partial: "/Users/scaglio/Gitea/godsip-club/themes/mini/layouts/partials/navigation.html:15:35": execute of template failed: template: partials/navigation.html:15:35: executing "partials/navigation.html" at <.Site.RSSLink>: can't evaluate field RSSLink in type page.Site
ERROR 2023/06/14 08:33:31 render of "page" failed: "/Users/scaglio/Gitea/godsip-club/themes/mini/layouts/_default/baseof.html:11:7": execute of template failed: template: _default/single.html:11:7: executing "_default/single.html" at <partial "navigation.html" .>: error calling partial: "/Users/scaglio/Gitea/godsip-club/themes/mini/layouts/partials/navigation.html:15:35": execute of template failed: template: partials/navigation.html:15:35: executing "partials/navigation.html" at <.Site.RSSLink>: can't evaluate field RSSLink in type page.Site
ERROR 2023/06/14 08:33:31 render of "page" failed: "/Users/scaglio/Gitea/godsip-club/themes/mini/layouts/_default/baseof.html:11:7": execute of template failed: template: _default/single.html:11:7: executing "_default/single.html" at <partial "navigation.html" .>: error calling partial: "/Users/scaglio/Gitea/godsip-club/themes/mini/layouts/partials/navigation.html:15:35": execute of template failed: template: partials/navigation.html:15:35: executing "partials/navigation.html" at <.Site.RSSLink>: can't evaluate field RSSLink in type page.Site
ERROR 2023/06/14 08:33:31 render of "page" failed: "/Users/scaglio/Gitea/godsip-club/themes/mini/layouts/_default/baseof.html:11:7": execute of template failed: template: _default/single.html:11:7: executing "_default/single.html" at <partial "navigation.html" .>: error calling partial: "/Users/scaglio/Gitea/godsip-club/themes/mini/layouts/partials/navigation.html:15:35": execute of template failed: template: partials/navigation.html:15:35: executing "partials/navigation.html" at <.Site.RSSLink>: can't evaluate field RSSLink in type page.Site
Built in 49 ms
Error: error building site: render: failed to render pages: render of "page" failed: "/Users/scaglio/Gitea/godsip-club/themes/mini/layouts/_default/baseof.html:11:7": execute of template failed: template: _default/single.html:11:7: executing "_default/single.html" at <partial "navigation.html" .>: error calling partial: "/Users/scaglio/Gitea/godsip-club/themes/mini/layouts/partials/navigation.html:15:35": execute of template failed: template: partials/navigation.html:15:35: executing "partials/navigation.html" at <.Site.RSSLink>: can't evaluate field RSSLink in type page.Site
I tried to figure out the error, if it may be related to RSS, but then I finally decided to try to disable RSS completely: In the file “config.yaml”, I changed the parameter “enableRSS” to “false”, and the errors changed into these:
Start building sites …
hugo v0.113.0-085c1b3d614e23d218ebf9daad909deaa2390c9a darwin/arm64 BuildDate=2023-06-05T15:04:51Z VendorInfo=gohugoio
ERROR 2023/06/14 08:34:31 render of "page" failed: "/Users/scaglio/Gitea/godsip-club/themes/mini/layouts/_default/baseof.html:17:7": execute of template failed: template: _default/single.html:17:7: executing "_default/single.html" at <partial "footer.html" .>: error calling partial: "/Users/scaglio/Gitea/godsip-club/themes/mini/layouts/partials/footer.html:3:11": execute of template failed: template: partials/footer.html:3:11: executing "partials/footer.html" at <partial "social.html" .>: error calling partial: execute of template failed: template: partials/social.html:6:11: executing "partials/social.html" at <partial $svg (dict "fill" "#f640c1" "width" 28 "height" 28)>: error calling partial: partial "svgs/_merge.svg" not found
ERROR 2023/06/14 08:34:31 render of "page" failed: "/Users/scaglio/Gitea/godsip-club/themes/mini/layouts/_default/baseof.html:17:7": execute of template failed: template: _default/single.html:17:7: executing "_default/single.html" at <partial "footer.html" .>: error calling partial: "/Users/scaglio/Gitea/godsip-club/themes/mini/layouts/partials/footer.html:3:11": execute of template failed: template: partials/footer.html:3:11: executing "partials/footer.html" at <partial "social.html" .>: error calling partial: execute of template failed: template: partials/social.html:6:11: executing "partials/social.html" at <partial $svg (dict "fill" "#f640c1" "width" 28 "height" 28)>: error calling partial: partial "svgs/_merge.svg" not found
ERROR 2023/06/14 08:34:31 render of "page" failed: "/Users/scaglio/Gitea/godsip-club/themes/mini/layouts/_default/baseof.html:17:7": execute of template failed: template: _default/single.html:17:7: executing "_default/single.html" at <partial "footer.html" .>: error calling partial: "/Users/scaglio/Gitea/godsip-club/themes/mini/layouts/partials/footer.html:3:11": execute of template failed: template: partials/footer.html:3:11: executing "partials/footer.html" at <partial "social.html" .>: error calling partial: execute of template failed: template: partials/social.html:6:11: executing "partials/social.html" at <partial $svg (dict "fill" "#f640c1" "width" 28 "height" 28)>: error calling partial: partial "svgs/_merge.svg" not found
ERROR 2023/06/14 08:34:31 render of "page" failed: "/Users/scaglio/Gitea/godsip-club/themes/mini/layouts/_default/baseof.html:17:7": execute of template failed: template: _default/single.html:17:7: executing "_default/single.html" at <partial "footer.html" .>: error calling partial: "/Users/scaglio/Gitea/godsip-club/themes/mini/layouts/partials/footer.html:3:11": execute of template failed: template: partials/footer.html:3:11: executing "partials/footer.html" at <partial "social.html" .>: error calling partial: execute of template failed: template: partials/social.html:6:11: executing "partials/social.html" at <partial $svg (dict "fill" "#f640c1" "width" 28 "height" 28)>: error calling partial: partial "svgs/_merge.svg" not found
Built in 58 ms
Error: error building site: render: failed to render pages: render of "page" failed: "/Users/scaglio/Gitea/godsip-club/themes/mini/layouts/_default/baseof.html:17:7": execute of template failed: template: _default/single.html:17:7: executing "_default/single.html" at <partial "footer.html" .>: error calling partial: "/Users/scaglio/Gitea/godsip-club/themes/mini/layouts/partials/footer.html:3:11": execute of template failed: template: partials/footer.html:3:11: executing "partials/footer.html" at <partial "social.html" .>: error calling partial: execute of template failed: template: partials/social.html:6:11: executing "partials/social.html" at <partial $svg (dict "fill" "#f640c1" "width" 28 "height" 28)>: error calling partial: partial "svgs/_merge.svg" not found
I installed manually different Hugo releases on the computer, and made some tests. Last major release working is v0.111. v0.112 already returns the errors.
I have no idea what is that file “svgs/_merge.svg”.
If it can be helpful, the repository is hosted here: scaglio/godsip.club: Hugo source for https://godsip.club - godsip.club - Gitea
The only change I made is that, on my computer I renamed /themes/mini/i18n/en.yaml to /themes/mini/i18n/en-US.yaml, but it is not online.
Can you help me understand the issue?
Thank you!