mirror of https://gitlab.com/curben/blog
fix: move /about/ page to homepage
This commit is contained in:
parent
b010379741
commit
2cd9094dc5
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
archive.ejs
|
||||
about.ejs
|
Loading…
Reference in New Issue