A plugin to create multiple language site with Jekyll 3.
Install plugin:
gem install jekyll-mulang
Config:
_config.yml
:
```yamlpage.en.baseurl
in your templates.scope:
path: ""
values:
<<: *langs # use "page.en.sidebar_title" in _includes/*.html
gems:
Gemfile
file :
```ruby
source 'https://rubygems.org'
gem 'jekyll'group :jekyll_plugins do gem "jekyll-paginate" gem "jekyll-mulang" end
- Create directories that relate to `baseurl` in `_config.yml` :
─index.html Gemfile _config.yml en/ └ index.html ja/ └ index.html zh/ └ index.html _posts/ └ en/some.md .. ja/some.md .. zh/some.md ..