Issue with blog category index for a dedicated blog #8345
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @jacobprezant, https://squidfunk.github.io/mkdocs-material/setup/setting-up-a-blog/#custom-index-pages The order is as follows:
You're using the blog at the the docs root If that doesn't work make sure you have the correct version of Also there could be a bug where this setup doesn't work with |
Beta Was this translation helpful? Give feedback.
Hi @jacobprezant,
the screenshot of the file structure in the docs and the screenshot of your file structure don't match.
https://squidfunk.github.io/mkdocs-material/setup/setting-up-a-blog/#custom-index-pages
The order is as follows:
category
matching the URL formatYou're using the blog at the the docs root
blog_dir: .
, therefore you can skip the blog root.Your URL is this
http://localhost:8000/category/reading-list/
So add
category
inside of yourdocs
directoryAnd add
reading-list.md
file inside of thedocs/category
.If that doesn't work make sure you have the correct version of
mk…