diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2015-08-01 23:36:58 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2015-08-01 23:36:58 +0200 |
commit | cbb2ccbddc8e232aedebf314b11ef69a049bfb10 (patch) | |
tree | 82bc9e681b5119b4ab483d77d57f1f4fc6ab721e | |
parent | d3d0634d53cefab7a4505b3f20bbf0b5c6170315 (diff) | |
download | norsk-urskog-main-cbb2ccbddc8e232aedebf314b11ef69a049bfb10.tar.gz norsk-urskog-main-cbb2ccbddc8e232aedebf314b11ef69a049bfb10.tar.bz2 norsk-urskog-main-cbb2ccbddc8e232aedebf314b11ef69a049bfb10.zip |
Add jekyll_multiple_languages plugin.
-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' |