Hi, I'm stuck in either index homepage or blog home page #303
khorshid1974
started this conversation in
General
Replies: 3 comments 1 reply
-
If you want to have your index page (somedomain.com/) and also a route for the blog (somedomain.com/blog) we suggest a configuration like the following: # (...)
apps:
blog:
isEnabled: true
postsPerPage: 6
post:
isEnabled: true
permalink: 'blog/%slug%' # Variables: %slug%, %year%, %month%, %day%, %hour%, %minute%, %second%, %category%
robots:
index: true
list:
isEnabled: true
pathname: 'blog' # Blog main path, you can change this to "articles" (/articles)
robots:
index: true
category:
isEnabled: true
pathname: 'blog/category' # Category main path /category/some-category, you can change this to "group" (/group/some-category)
robots:
index: true
tag:
isEnabled: true
pathname: 'blog/tag' # Tag main path /tag/some-tag, you can change this to "topics" (/topics/some-category)
robots:
index: false
# (...) If you have any other questions or problems, please let us know. |
Beta Was this translation helpful? Give feedback.
0 replies
-
How can I make the blog page [ blog lists page] , as the default index page. I intend to use astrowind as my blog, where on home I display the list of articles. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Check this comment: #172 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm stuck in either index homepage or blog home page, which can be switched from config.yaml
I want to have my default index page and still have the /blog
Beta Was this translation helpful? Give feedback.
All reactions