Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cssg-plugin-hugo]: Custom params on the language top level is deprecated #62

Open
peterschewe opened this issue Jun 5, 2023 · 0 comments

Comments

@peterschewe
Copy link
Contributor

peterschewe commented Jun 5, 2023

The Hugo plugin generates a languages.yaml which contains the invalid param languageNameShort. Since Hugo version 0.112, custom parameters are deprecated at the top level of the language.

Hugo Version:
v0.112

Warning:

WARN 2023/06/05 09:32:14 config: languages.en.languagenameshort: custom params on the language top level is deprecated and will be removed in a future release. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120

Related Code:
https://github.com/jungvonmatt/contentful-ssg/blob/main/packages/cssg-plugin-hugo/index.js#L294

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

No branches or pull requests

1 participant