vwochnik / jekyll-language-plugin

Jekyll 3.0-compatible multi-language plugin for posts, pages and includes
MIT License
115 stars 45 forks source link

tinclude error with Jekyll 3.2 #21

Closed git-no closed 8 years ago

git-no commented 8 years ago

tinclude does not work with the latest Jekyll version (3.2). Jekyll can not build the site and breaks with an error -> show stopper.

Liquid Exception: Could not locate the included file 'about.md' in any of ["/Users/me/Downloads/jekyll-language-plugin-master/example/_includes"]. Ensure it exists in one of those directories and, if it is a symlink, does not point outside your site source. in about.md jekyll 3.2.0 | Error: Could not locate the included file 'about.md' in any of ["/Users/me/Downloads/jekyll-language-plugin-master/example/_includes"]. Ensure it exists in one of those directories and, if it is a symlink, does not point outside your site source.

This can be reproduced, e.g. with the included example of this repository:

Step1 - Update Gemfile

source 'https://rubygems.org'
gem 'jekyll', '3.2.0'
gem 'jekyll-sitemap'
gem 'jekyll-language-plugin', '1.3.2'

Step 2 - Update Gems

bundle update

Step 3 - Start Jekyll server

jekyll s

and call http://localhost:4000/de/ueber-uns.html in your browser.

I assume the reason of the new compiler error with the language plugin is this has changed in Jekyll v.3.2 IncludeTag: implement multiple load paths