Install jekyll-multiple-languages-plugin
https://github.com/kurtsson/jekyll-multiple-languages-plugin
This commit is contained in:
parent
9882bd4998
commit
52ee6cda74
1
Gemfile
1
Gemfile
@ -14,3 +14,4 @@ gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
|||||||
# Performance-booster for watching directories on Windows
|
# Performance-booster for watching directories on Windows
|
||||||
gem "wdm", "~> 0.1.0" if Gem.win_platform?
|
gem "wdm", "~> 0.1.0" if Gem.win_platform?
|
||||||
|
|
||||||
|
gem 'jekyll-multiple-languages-plugin'
|
||||||
|
@ -5,6 +5,8 @@ sass:
|
|||||||
style: compressed
|
style: compressed
|
||||||
plugins:
|
plugins:
|
||||||
- jekyll-sitemap
|
- jekyll-sitemap
|
||||||
|
- jekyll-multiple-languages-plugin
|
||||||
sitemap:
|
sitemap:
|
||||||
file: "/sitemap.xml"
|
file: "/sitemap.xml"
|
||||||
include: [".well-known"]
|
include: [".well-known"]
|
||||||
|
languages: ["en", "pl", "fr"]
|
||||||
|
3
_i18n/en.yml
Normal file
3
_i18n/en.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
pages:
|
||||||
|
home: Home
|
||||||
|
work: Work
|
3
_i18n/fr.yml
Normal file
3
_i18n/fr.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
pages:
|
||||||
|
home: HomeFR
|
||||||
|
work: WorkFR
|
3
_i18n/pl.yml
Normal file
3
_i18n/pl.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
pages:
|
||||||
|
home: HomePL
|
||||||
|
work: WorkPL
|
Reference in New Issue
Block a user