Open sceee opened 3 years ago
+1 for this reason I have an empty home page
I see no jekyll-only/javascript-viable workaround at the time, because the root directory is completly empty.
However, we can at least fix the issue by redirecting trafic from /
to en
via our hoster.
In case of Netlify one can consult https://docs.netlify.com/routing/redirects/redirect-options/
In the past, I used a setup as described here: https://github.com/kurtsson/jekyll-multiple-languages-plugin/issues/86#issuecomment-504036422 https://github.com/kurtsson/jekyll-multiple-languages-plugin/issues/103#issuecomment-348709528
Previously, I used a config like this
to generate a folder structure as follows:
Now, I think since https://github.com/kurtsson/jekyll-multiple-languages-plugin/pull/170 and the added possibility for
default_locale_in_subfolder: true
, it seems this feature is no longer working. (I guess it's because the check here https://github.com/kurtsson/jekyll-multiple-languages-plugin/pull/170/files#diff-df0ad4e0b34533f0e9e0da71b9bc9903f58a372667f8fe9360d414eb19f8ae83R164 )I tried it with
or
or
or
but it seems I can no longer put the default language (en) in the root and in a subfolder.
Is there any way to still achieve this folder structure? Maybe @kurtsson you know a solution as it was your PR?