Adds the following environment variables:
LEKTOR_DEFAULT_LANGUAGE: The default language of the site, such as
LEKTOR_AVAILABLE_LANGUAGES: Limit the available languages to a subset, such as
en am ar.
These are processed by the
scripts/pre-build routine which applies the configuration at
The resulting site can then have a homepage different from english and a language selection menu with fewer languages than those available in the landing page translation branch.
- The language drop-down and button aren't shown when the site has only a single language.
- The language drop-down height works both for many or just a few languages.