Джекилл Полиглот исключить

Не могу заставить плагин Jekyll Polyglot отображать некоторые ресурсы на переведенных страницах. В _config я установил:

plugins_dir:
  - jekyll-polyglot

languages: ["ee", "en"]
default_lang: "ee"
exclude_from_localization:
  - img
  - css
  - js

parallel_localization: true

css, js и img должным образом не включены в _site / en / и включены в _site/, но ресурсы не найдены при переходе на /en/ link. Язык по умолчанию отображается в корневой ссылке localhost:4000/

GET http://localhost:4000/en/css/bootstrap.min.css net::ERR_ABORTED
localhost/:19 GET http://localhost:4000/en/css/landing-page.css net::ERR_ABORTED
localhost/:699 GET http://localhost:4000/en/js/jquery-1.11.0.js net::ERR_ABORTED
localhost/:703 GET http://localhost:4000/en/js/jquery.easing.min.js net::ERR_ABORTED
localhost/:706 GET http://localhost:4000/en/js/bootstrap.min.js net::ERR_ABORTED
localhost/:709 GET http://localhost:4000/en/js/ttu.js net::ERR_ABORTED
localhost/:366 GET http://localhost:4000/en/img/services/basket-young.jpg 404 (Not Found)
localhost/:442 GET http://localhost:4000/en/img/services/basket-adult.jpg 404 (Not Found)
localhost/:476 GET http://localhost:4000/en/img/services/basket-method.jpg 404 (Not Found)
localhost/:699 GET http://localhost:4000/en/js/jquery-1.11.0.js net::ERR_ABORTED
localhost/:703 GET http://localhost:4000/en/js/jquery.easing.min.js net::ERR_ABORTED
localhost/:706 GET http://localhost:4000/en/js/bootstrap.min.js net::ERR_ABORTED
localhost/:709 GET http://localhost:4000/en/js/ttu.js 404 (Not Found)

Изображения, которые не найдены, определены в _posts, каждый пост спереди. В остальном я получаю ERR_ABORTED по некоторым причинам.

Есть идеи, почему это происходит?

0 ответов

Другие вопросы по тегам