diff --git a/Gemfile b/Gemfile index 7b98eda..37f5eaa 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,2 @@ -# A sample Gemfile -source "https://rubygems.org" -gem 'github-pages' \ No newline at end of file +source 'https://rubygems.org' +gem 'github-pages', group: :jekyll_plugins diff --git a/_config.yml b/_config.yml index aea9b9c..413e2cb 100644 --- a/_config.yml +++ b/_config.yml @@ -5,3 +5,5 @@ markdown: kramdown kramdown: input: GFM line_width: 80 +gems: + - jekyll-redirect-from diff --git a/index.html b/index.html index 837cbb1..5be2320 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,7 @@ --- title: WP REST API Documentation +redirect_to: + - http://v2.wp-api.org/ ---