mirror of https://gitlab.com/curben/blog
fix: Temporarily set the homepage to /blog
This commit is contained in:
parent
e2a27c2d8f
commit
1ccf7038b8
|
@ -13,7 +13,7 @@ timezone:
|
||||||
# URL
|
# URL
|
||||||
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
|
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
|
||||||
url: https://curben.netlify.com
|
url: https://curben.netlify.com
|
||||||
root: ''
|
root: /
|
||||||
permalink: blog/:year/:month/:day/:title/
|
permalink: blog/:year/:month/:day/:title/
|
||||||
permalink_defaults:
|
permalink_defaults:
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ theme_config:
|
||||||
|
|
||||||
# Header
|
# Header
|
||||||
menu:
|
menu:
|
||||||
Home: /
|
Home: /blog
|
||||||
About: /about
|
About: /about
|
||||||
GitLab: https://gitlab.com/curben/blog
|
GitLab: https://gitlab.com/curben/blog
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
# Temporarily set the homepage to /blog
|
||||||
|
/ /blog 307
|
|
@ -11,15 +11,15 @@
|
||||||
</url>
|
</url>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{# ------------- home page - with now date #}
|
{# home page #}
|
||||||
<url>
|
<url>
|
||||||
<loc>{{ config.url }}</loc>
|
<loc>{{ config.url + '/' + config.archive_dir + '/' }}</loc>
|
||||||
<lastmod>{{ sNow }}</lastmod>
|
<lastmod>{{ sNow }}</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
<priority>1.0</priority>
|
<priority>1.0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
{# ------------- tag pages #}
|
{# tag pages #}
|
||||||
{% for tag in tags %}
|
{% for tag in tags %}
|
||||||
<url>
|
<url>
|
||||||
<loc>{{ tag.permalink }}</loc>
|
<loc>{{ tag.permalink }}</loc>
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
</url>
|
</url>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{# ------------- categories pages #}
|
{# categories pages #}
|
||||||
{% for cat in categories %}
|
{% for cat in categories %}
|
||||||
<url>
|
<url>
|
||||||
<loc>{{ cat.permalink }}</loc>
|
<loc>{{ cat.permalink }}</loc>
|
||||||
|
|
Loading…
Reference in New Issue