-
Hey, So what we mainly have is a list of news, where I would use the blog feature. Now my question: I can follow the docs and create a blog in the "blog" folder, which is then shown as "Blog" as a section in the top bar. But I would like to have this on the root page. So I moved everything into the docs folder directly (the index.md, the posts folder and the demo post) and configured it with Now I get the blog on the landing page, but I get the archive and categories in the section on top and not in the sidebar: What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Hi, the instructions in the blog post announcing the blog plugin give me the arrangement you are looking for. Have a look to see what the differences are in the |
Beta Was this translation helpful? Give feedback.
-
Ok, got it thanks! You are right, removing But then I of course don't have tabs anymore. 😄 So there is no possibility to have the blog with "blog sections" on the left bar on the home but for other folders the usual section behavior on tab bar? |
Beta Was this translation helpful? Give feedback.
-
The answer with Material for MkDocs is rarely that you can't. I don't think what you are looking for can be done with changes to the |
Beta Was this translation helpful? Give feedback.
I created a draft PR for the example at mkdocs-material/examples#14. @odin568, if you have a spare moment, can you have a look and check if this does what you imagined? Just
git switch standaloneblog
examples/blog-standalone
mkdocs serve
.The README file is rendered at http://localhost:8000 while the actual example is at http://localhost:8000/demo/.