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

Read Hugo default language from environment variable? #48

Open
maelle opened this issue Sep 22, 2023 · 0 comments
Open

Read Hugo default language from environment variable? #48

maelle opened this issue Sep 22, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@maelle
Copy link
Contributor

maelle commented Sep 22, 2023

via @steffilazerte

Pro: no files called index.en.md

Con: even when called index.en.md a file will work so it's just uglier; on the user side, the default language is already registered somewhere in Hugo configuration (which can be YAML or TOML, which can be in subfolders, etc).

@maelle maelle added the enhancement New feature or request label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant