summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-08-01 23:36:58 +0200
committerHarald Eilertsen <haraldei@anduin.net>2015-08-01 23:36:58 +0200
commitcbb2ccbddc8e232aedebf314b11ef69a049bfb10 (patch)
tree82bc9e681b5119b4ab483d77d57f1f4fc6ab721e
parentd3d0634d53cefab7a4505b3f20bbf0b5c6170315 (diff)
downloadnorsk-urskog-main-cbb2ccbddc8e232aedebf314b11ef69a049bfb10.tar.gz
norsk-urskog-main-cbb2ccbddc8e232aedebf314b11ef69a049bfb10.tar.bz2
norsk-urskog-main-cbb2ccbddc8e232aedebf314b11ef69a049bfb10.zip
Add jekyll_multiple_languages plugin.
-rw-r--r--Gemfile1
-rw-r--r--Gemfile.lock2
-rw-r--r--blog/_config.yml4
-rw-r--r--blog/_plugins/jekyll_multiple_languages.rb1
4 files changed, 8 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index c99d6dd..284663e 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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'