This is a fork from treat-jekyll-template of CloudCannon
Multilingual Food/baking blog template for Jekyll. Browse through a live demo.
You can follow ISO language codes for language setting.
_config.yml
.lang:
and ref:
in front matter for the pages and post that are multilingual.ref:
: assign the pages to the same ref value e.g. /zh/index.html
and /index.html
both have ref: index
in front matter./zh
_posts/zh
._data/sidebar.yml
_data/navigation.yml
git clone https://github.com/smccsally/treat-jekyll-template-multilingual.git
cd treat-jekyll-template-multilingual
Readme.md
which is useless outside this repositoryjekyll build
_site
folder to github pages as this instructionP.S. github does not allow jekyll-multiple plugin so the site need to build locally and be uplaoded.