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

defaultContentLanguage not validated #11044

Closed
jmooring opened this issue May 29, 2023 · 1 comment
Closed

defaultContentLanguage not validated #11044

jmooring opened this issue May 29, 2023 · 1 comment
Assignees
Milestone

Comments

@jmooring
Copy link
Member

site config

defaultContentLanguage = 'en'   # does not match any of the defined languages

[languages.de]
weight = 1

[languages.fr]
weight = 2

v0.111.3

$ hugo

Error: site config value "en" for defaultContentLanguage does not match any language definition

v0.112.5

$ hugo

No error, and the published site is wrong:

public/
├── de/
│   └── index.html
├── en/
│   └── index.html
├── fr/
│   ├── posts/
│   │   ├── post-1/
│   │   │   └── index.html
│   │   └── index.html
│   └── index.html
└── favicon.ico
@bep bep removed the NeedsTriage label May 30, 2023
@bep bep self-assigned this May 30, 2023
@bep bep added this to the v0.112.6 milestone May 30, 2023
bep added a commit to bep/hugo that referenced this issue May 30, 2023
bep added a commit to bep/hugo that referenced this issue May 30, 2023
@bep bep closed this as completed in 9cdca1f May 30, 2023
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants