Merge branch 'blog-redir' into 'master'

fix(seo): redirect post link to /blog/

See merge request curben/blog!22
This commit is contained in:
curben 2019-06-21 04:25:30 +00:00
commit 52a3c29295
1 changed files with 2 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# Temporarily set the homepage to /blog
/ /blog/ 302
# Redirect post to /blog/
/:year/:month/:date/:slug /blog/:year/:month/:date/:slug/ 301