-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.
Description
$ make serve
Built in 29260 ms
Error: error building site: render: failed to render pages: render of "/git/containers/kubernetes-website/content/en/docs/reference/issues-security/official-cve-feed.md" failed: "/git/containers/kubernetes-website/layouts/docs/single.html:9:7": execute of template failed: template: docs/single.html:9:7: executing "main" at <partial "docs/content-page" (dict "ctx" . "page" .)>: error calling partial: "/git/containers/kubernetes-website/layouts/partials/docs/content-page.html:6:8": execute of template failed: template: partials/docs/content-page.html:6:8: executing "partials/docs/content-page.html" at <.page.Content>: error calling Content: "/git/containers/kubernetes-website/content/en/docs/reference/issues-security/official-cve-feed.md:39:1": failed to render shortcode "cve-feed": failed to process shortcode: "/git/containers/kubernetes-website/layouts/shortcodes/cve-feed.html:5:9": execute of template failed: template: shortcodes/cve-feed.html:5:9: executing "shortcodes/cve-feed.html" at <.Err>: can't evaluate field Err in type resource.Resource: Resource.Err was removed in Hugo v0.141.0 and replaced with a new try keyword, see https://gohugo.io/functions/go-template/try/
make: *** [Makefile:72: serve] Error 1
That is:
failed to render shortcode "cve-feed":
failed to process shortcode: "/git/containers/kubernetes-website/layouts/shortcodes/cve-feed.html:5:9":
execute of template failed: template: shortcodes/cve-feed.html:5:9:
executing "shortcodes/cve-feed.html" at <.Err>:
can't evaluate field Err in type resource.Resource: Resource.Err was removed in Hugo v0.141.0 and replaced with a new try keyword, see https://gohugo.io/functions/go-template/try/
I use
$ hugo version
hugo v0.144.0-DEV-377287a614821aa024385772db64721b0fd24fc1+extended linux/amd64 BuildDate=2025-02-04T09:14:03Z
ahmetb
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.