diff --git a/Gemfile b/Gemfile index 7f58338..6f97102 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,5 @@ source "https://rubygems.org" gem 'github-pages' -gem 'webrick' \ No newline at end of file +gem 'webrick' +gem 'jekyll-redirect-from' diff --git a/_config.yml b/_config.yml index fd4fdb1..67d2106 100644 --- a/_config.yml +++ b/_config.yml @@ -1,6 +1,10 @@ layouts_dir: ./_layouts title: ManKind Project Japan description: We believe in building better men +plugins: + - jekyll-redirect-from +whitelist: + - jekyll-redirect-from exclude: [ exclude/, Gemfile, diff --git a/agreements.md b/agreements.md index 8b00035..06018a4 100644 --- a/agreements.md +++ b/agreements.md @@ -3,6 +3,9 @@ layout: single navbarClass: 'navbar-shrink' permalink: /agreements/ title: The Mankind Project Japan Agreements +redirect_from: + - /agreements-com + - /agreements-com/ --- {% include agreements.md %} diff --git a/form.md b/form.md index f30b3ca..b750c9e 100644 --- a/form.md +++ b/form.md @@ -3,6 +3,8 @@ layout: single navbarClass: 'navbar-shrink' permalink: /form/ title: The Mankind Project Japan Registration Form +redirect_from: + - /open-mens-group --- -{% include form.html %} \ No newline at end of file +{% include form.html %}