kurtsson / jekyll-multiple-languages-plugin

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

exclude_from_localizations not working with include setting #78

Open git-no opened 8 years ago

git-no commented 8 years ago

Problem

exclude_from_localizations setting not working for values in include.

Example setting in _config.yml:

include: ["_redirects"]
exclude_from_localizations: ["script","_redirects" ]

Actual Result

_redirects is copied into _site and into each language directory.

Expected Result

_redirects is copied just once into _site directory but not into language directories.