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
|
# Header
|
||||||
menu:
|
menu:
|
||||||
Home: /blog/
|
Home: /
|
||||||
About: /about/
|
Blog: /blog/
|
||||||
Feed: /atom.xml
|
Feed: /atom.xml
|
||||||
GitLab: https://gitlab.com/curben/blog
|
GitLab: https://gitlab.com/curben/blog
|
||||||
|
|
||||||
|
@ -119,6 +119,7 @@ theme_config:
|
||||||
# If "icons: true" link names will interpreted as fontawesome icon names
|
# 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
|
# Use the forkawesome icon names (https://forkaweso.me/Fork-Awesome/icons/) without the fa- prefix
|
||||||
links:
|
links:
|
||||||
Home: /blog/
|
Home: /
|
||||||
|
Blog: /blog/
|
||||||
Feed: /atom.xml
|
Feed: /atom.xml
|
||||||
GitLab: https://gitlab.com/curben/blog
|
GitLab: https://gitlab.com/curben/blog
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
{# home page #}
|
{# home page #}
|
||||||
<url>
|
<url>
|
||||||
<loc>{{ config.url + '/' + config.archive_dir + '/' | uriencode }}</loc>
|
<loc>{{ config.url + '/' | uriencode }}</loc>
|
||||||
<lastmod>{{ sNow }}</lastmod>
|
<lastmod>{{ sNow }}</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
<priority>1.0</priority>
|
<priority>1.0</priority>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Temporarily set the homepage to /blog
|
# Move about page to homepage
|
||||||
/ /blog/ 302
|
/about/ / 302
|
||||||
# Redirect post to /blog/
|
# Redirect post to /blog/
|
||||||
/:year/:month/:date/:slug /blog/:year/:month/:date/:slug/ 301
|
/:year/:month/:date/:slug /blog/:year/:month/:date/:slug/ 301
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
archive.ejs
|
about.ejs
|
Loading…
Reference in New Issue