fix: move /about/ page to homepage

This commit is contained in:
curben 2019-09-03 16:39:19 +01:00
parent b010379741
commit 2cd9094dc5
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
4 changed files with 8 additions and 7 deletions

View File

@ -98,8 +98,8 @@ theme_config:
# Header
menu:
Home: /blog/
About: /about/
Home: /
Blog: /blog/
Feed: /atom.xml
GitLab: https://gitlab.com/curben/blog
@ -119,6 +119,7 @@ theme_config:
# If "icons: true" link names will interpreted as fontawesome icon names
# Use the forkawesome icon names (https://forkaweso.me/Fork-Awesome/icons/) without the fa- prefix
links:
Home: /blog/
Home: /
Blog: /blog/
Feed: /atom.xml
GitLab: https://gitlab.com/curben/blog

View File

@ -13,7 +13,7 @@
{# home page #}
<url>
<loc>{{ config.url + '/' + config.archive_dir + '/' | uriencode }}</loc>
<loc>{{ config.url + '/' | uriencode }}</loc>
<lastmod>{{ sNow }}</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>

View File

@ -1,5 +1,5 @@
# Temporarily set the homepage to /blog
/ /blog/ 302
# Move about page to homepage
/about/ / 302
# Redirect post to /blog/
/:year/:month/:date/:slug /blog/:year/:month/:date/:slug/ 301

View File

@ -1 +1 @@
archive.ejs
about.ejs