diff --git a/Gemfile b/Gemfile index 0eae436..e7ca7ca 100644 --- a/Gemfile +++ b/Gemfile @@ -13,7 +13,9 @@ gem 'rake' gem 'rubocop', '~> 1.31' gem 'rubocop-rake' -# https://github.com/gjtorikian/jekyll-last-modified-at group :jekyll_plugins do + # https://github.com/gjtorikian/jekyll-last-modified-at gem 'jekyll-last-modified-at' + # https://github.com/jekyll/jekyll-redirect-from + gem "'ekyll-redirect-from' end diff --git a/_config.yml b/_config.yml index 8ea0ecc..086e517 100644 --- a/_config.yml +++ b/_config.yml @@ -38,9 +38,10 @@ navigation: - title: Sponsoring url: /sponsoring/ - title: Blog - url: /posts/ + url: /blog/ exclude: ["Gemfile", "Gemfile.lock", "LICENSE", "README.md", "CNAME", "README.md", "vendor"] plugins: - jekyll-last-modified-at + - jekyll-redirect-from diff --git a/posts/index.md b/blog/index.md similarity index 61% rename from posts/index.md rename to blog/index.md index 76d946b..50b00cf 100644 --- a/posts/index.md +++ b/blog/index.md @@ -1,4 +1,6 @@ --- layout: post-index title: All Posts +redirect_from: + - /posts/ ---