Install jekyll-multiple-languages-plugin

https://github.com/kurtsson/jekyll-multiple-languages-plugin
This commit is contained in:
Jonah 2019-08-05 22:20:20 -05:00
parent 9882bd4998
commit 52ee6cda74
No known key found for this signature in database
GPG Key ID: B9D1C611859E0649
5 changed files with 12 additions and 0 deletions

View File

@ -14,3 +14,4 @@ gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.0" if Gem.win_platform?
gem 'jekyll-multiple-languages-plugin'

View File

@ -5,6 +5,8 @@ sass:
style: compressed
plugins:
- jekyll-sitemap
- jekyll-multiple-languages-plugin
sitemap:
file: "/sitemap.xml"
include: [".well-known"]
languages: ["en", "pl", "fr"]

3
_i18n/en.yml Normal file
View File

@ -0,0 +1,3 @@
pages:
home: Home
work: Work

3
_i18n/fr.yml Normal file
View File

@ -0,0 +1,3 @@
pages:
home: HomeFR
work: WorkFR

3
_i18n/pl.yml Normal file
View File

@ -0,0 +1,3 @@
pages:
home: HomePL
work: WorkPL