fix(layout): add homepage link and remove redirect

This commit is contained in:
curben 2019-10-17 06:48:36 +01:00
parent 772fc46cee
commit ce9ebeb1bf
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
2 changed files with 2 additions and 4 deletions

View File

@ -90,7 +90,8 @@ pretty_urls:
theme_config: theme_config:
# Header # Header
menu: menu:
Home: /blog/ Home: /
Blog: /blog/
About: /about/ About: /about/
Feed: /atom.xml Feed: /atom.xml
GitLab: https://gitlab.com/curben/blog GitLab: https://gitlab.com/curben/blog

View File

@ -1,6 +1,3 @@
# Temporarily set the homepage to /blog
/ /blog/ 302
# Reverse proxy to cdn # Reverse proxy to cdn
/libs/* https://cdn.statically.io/libs/:splat 200 /libs/* https://cdn.statically.io/libs/:splat 200
/img/* https://cdn.statically.io/img/gitlab.com/curben/blog/raw/site/:splat 200 /img/* https://cdn.statically.io/img/gitlab.com/curben/blog/raw/site/:splat 200