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
The recent release of hugo 0.112 deprecates setting variables directly under [languages.XX], where XX represents a language code. Hugo is deprecating the practice in favor of [languages.XX.params]. See this link from the official documentation.
Building a site with the deprecated variable scheme in the config file yields these warnings:
WARN 2023/05/28 21:46:21 config: languages.es.missingcontentmessage: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.es.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
Re-run Hugo with the flag --panicOnWarning to get a better error message.
WARN 2023/05/28 21:46:21 config: languages.es.keywords: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.es.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
Re-run Hugo with the flag --panicOnWarning to get a better error message.
WARN 2023/05/28 21:46:21 config: languages.es.readmore: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.es.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
Re-run Hugo with the flag --panicOnWarning to get a better error message.
WARN 2023/05/28 21:46:21 config: languages.es.missingbackbuttonlabel: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.es.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
Re-run Hugo with the flag --panicOnWarning to get a better error message.
WARN 2023/05/28 21:46:21 config: languages.es.subtitle: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.es.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
Re-run Hugo with the flag --panicOnWarning to get a better error message.
WARN 2023/05/28 21:46:21 config: languages.es.owner: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.es.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
Re-run Hugo with the flag --panicOnWarning to get a better error message.
WARN 2023/05/28 21:46:21 config: languages.es.menumore: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.es.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
Re-run Hugo with the flag --panicOnWarning to get a better error message.
WARN 2023/05/28 21:46:21 config: languages.es.olderposts: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.es.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
Re-run Hugo with the flag --panicOnWarning to get a better error message.
WARN 2023/05/28 21:46:21 config: languages.es.readotherposts: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.es.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
Re-run Hugo with the flag --panicOnWarning to get a better error message.
WARN 2023/05/28 21:46:21 config: languages.es.newerposts: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.es.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
Attempting to use the new variable schema breaks the theme, as it isn't finding the values where it wants to. The theme should be updated to conform to the new schema put forward by hugo 0.112, and all documentation updated accordingly, including the examples in the README.md file and inside the exampleSite.
The text was updated successfully, but these errors were encountered:
The recent release of hugo 0.112 deprecates setting variables directly under
[languages.XX]
, whereXX
represents a language code. Hugo is deprecating the practice in favor of[languages.XX.params]
. See this link from the official documentation.Building a site with the deprecated variable scheme in the config file yields these warnings:
Attempting to use the new variable schema breaks the theme, as it isn't finding the values where it wants to. The theme should be updated to conform to the new schema put forward by hugo 0.112, and all documentation updated accordingly, including the examples in the README.md file and inside the exampleSite.
The text was updated successfully, but these errors were encountered: