summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'