kurtsson / jekyll-multiple-languages-plugin

I18n support for Jekyll and Octopress
MIT License
927 stars 202 forks source link

Problem with Sitemap and Jekyll Multiple Languages Plugin #191

Open awesomebloging opened 3 years ago

awesomebloging commented 3 years ago

Hello, I am using jekyll-multiple-languages-plugin-1.7.0 and jekyll-sitemap-1.4.0. My sitemap is only generated for one language (primary). The same map is created in the _site/ru and _site/en folders.

Example for en:

https://example.com/ru/about/

Example for ru:

https://example.com/ru/about/
robsongajunior commented 3 years ago

Yeh, for me too... ... if you the a conf like:

language_default: en
languages: ["en", "pt-br", "es"]
default_locale_in_subfolder: true

The sitemap generated was loop into the default configured folder. So, if you have post just into es and no into default lang, the loop using the permalinks will not find the es post.