Affected version
3.20.0
Bug description
Description
Since the changes introduced in issue #1083, the default locale used by site:site is no longer the first valid token in the locales parameter.
This breaks the documented behavior and alters long‑established expectations.
According to the plugin’s site:site documentation,
locales is “a comma separated list of locales to render. The first valid token will be the default Locale for this site.”.
The behavior before #1083 followed this rule.
The changes introduced there should be reverted.
Steps to Reproduce
Configure the plugin with:
Expected Behavior
With locales = fr, the default locale should be fr, and the default output directory should remain:
target/site/
Actual Behavior
The generated site is placed under a locale‑specific directory:
target/site/fr/
Affected version
3.20.0
Bug description
Description
Since the changes introduced in issue #1083, the default locale used by
site:siteis no longer the first valid token in thelocalesparameter.This breaks the documented behavior and alters long‑established expectations.
According to the plugin’s site:site documentation,
localesis “a comma separated list of locales to render. The first valid token will be the default Locale for this site.”.The behavior before #1083 followed this rule.
The changes introduced there should be reverted.
Steps to Reproduce
Configure the plugin with:
Expected Behavior
With locales = fr, the default locale should be fr, and the default output directory should remain:
target/site/
Actual Behavior
The generated site is placed under a locale‑specific directory:
target/site/fr/