You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This update to hugo-relearn version 5.17.1, released on 2023-06-23.
It makes the theme work correctly with Hugo 0.112 and newer
(McShelby/hugo-theme-relearn#540).
Hi,
today I updated the theme and Hugo and got the followoing error message:
Error: error building site: "C:\Users\h35\_git\dokumentation\content\de\intern\produktion\schnittstellen\cloudapi\lely.md:85:3": failed to render shortcode "attachments": failed to process shortcode: execute of template failed: template: shortcodes/attachments.html:2:4: executing "shortcodes/attachments.html" at <partial "shortcodes/attachments.html" (dict "context" .Page "color" (.Get "color") "content" .Inner "icon" (.Get "icon") "pattern" (.Get "pattern") "style" (.Get "style") "sort" (.Get "sort") "title" (.Get "title"))>: error calling partial: "C:\Users\h35\_git\dokumentation\themes\hugo-theme-relearn\layouts\partials\shortcodes\attachments.html:35:44": execute of template failed: template: partials/shortcodes/attachments.html:35:44: executing "partials/shortcodes/attachments.html" at <.Language.ContentDir>: can't evaluate field ContentDir in type *langs.Language
I've tested this Hugo versions:
0.112.2 (latest version) ==> ERROR
0.112.0 ==> ERROR
0.111.3 ==> everything OK
Maybe it has to do something with the "Improved language config handling"
https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
https://github.com/gohugoio/hugo/releases/tag/v0.112.0
gohugoio/hugo#10620)
The text was updated successfully, but these errors were encountered: