diff options
-rw-r--r-- | Gemfile | 1 | ||||
-rw-r--r-- | Gemfile.lock | 2 | ||||
-rw-r--r-- | blog/_config.yml | 4 | ||||
-rw-r--r-- | blog/_plugins/jekyll_multiple_languages.rb | 1 |
4 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,4 @@ source "https://rubygems.org" gem "jekyll" +gem 'jekyll-multiple-languages-plugin' diff --git a/Gemfile.lock b/Gemfile.lock index 44a430d..3bd972b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -33,6 +33,7 @@ GEM jekyll-coffeescript (1.0.1) coffee-script (~> 2.2) jekyll-gist (1.2.1) + jekyll-multiple-languages-plugin (1.2.9) jekyll-paginate (1.1.0) jekyll-sass-converter (1.3.0) sass (~> 3.2) @@ -68,6 +69,7 @@ PLATFORMS DEPENDENCIES jekyll + jekyll-multiple-languages-plugin BUNDLED WITH 1.10.6 diff --git a/blog/_config.yml b/blog/_config.yml new file mode 100644 index 0000000..e1a4620 --- /dev/null +++ b/blog/_config.yml @@ -0,0 +1,4 @@ +--- +languages: + - nb + - en diff --git a/blog/_plugins/jekyll_multiple_languages.rb b/blog/_plugins/jekyll_multiple_languages.rb new file mode 100644 index 0000000..145526c --- /dev/null +++ b/blog/_plugins/jekyll_multiple_languages.rb @@ -0,0 +1 @@ +require 'jekyll/multiple/languages/plugin' |