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

fix: remove deprecated custom lang param #75

Merged
merged 1 commit into from
Jun 23, 2024

Conversation

peterschewe
Copy link
Contributor

languageNameShort is used as a custom param in the generated languages.yaml. This is no longer permitted. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120

The PR solves the following deprecation error

ERROR deprecated: config: languages.en.languagenameshort: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.128.0. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120

Related issue: #62

@peterschewe peterschewe requested a review from bezoerb June 21, 2024 10:48
Copy link

sonarcloud bot commented Jun 21, 2024

@bezoerb bezoerb merged commit a2bd437 into main Jun 23, 2024
8 checks passed
@bezoerb bezoerb deleted the fix/62-invalid-param-languageNameShort branch June 23, 2024 21:34
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

Successfully merging this pull request may close these issues.

2 participants