-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Env HUGO_DISABLELANGUAGES is not working after v0.111.3 with multiple values #11278
Comments
With v0.112.0 and later... PASS - Disable multiple languages in site configuration via language object[languages.en]
weight = 1
[languages.de]
disabled = true
weight = 2
[languages.fr]
disabled = true
weight = 3 PASS - Disable multiple languages in site configuration via root settingdisableLanguages = ['de', 'fr'] PASS - Disable a single language via environment variable
FAIL - Disable multiple languages via environment variable
We have the same failure with...
The above worked prior to v0.112.0. |
I've changed the PR title to 'is not working with multiple values'. Thanks. |
This includes a patch from the master branch/next release: gohugoio/hugo#11278 Changelog: https://github.com/gohugoio/hugo/releases/tag/v0.115.4 Approved by: doceng (implicit)
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. |
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
yes
Behavior with v0.111.3:
And now with v0.112.0 and v0.115.4:
The intended behavior should be
disableLanguages = ['fr', 'es']
, right?This other way, hugo is building all languages every time.
The text was updated successfully, but these errors were encountered: