mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Documentation (#7102)
This commit is contained in:
parent
400108301e
commit
57d82dc253
@ -32,6 +32,19 @@ plugins:
|
|||||||
- blog
|
- blog
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If you do not have a navigation (`nav`) definition in your `mkdocs.yml` then
|
||||||
|
there is nothing else to do there as the blog plugin will add navigation
|
||||||
|
automatically. If you do have a navigation defined then you need to add *the
|
||||||
|
blog index page only* to it. You need not and should not add the individual
|
||||||
|
blog posts. For example:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
nav:
|
||||||
|
- index.md
|
||||||
|
- Blog:
|
||||||
|
- blog/index.md
|
||||||
|
```
|
||||||
|
|
||||||
For a list of all settings, please consult the [plugin documentation].
|
For a list of all settings, please consult the [plugin documentation].
|
||||||
|
|
||||||
[plugin documentation]: ../plugins/blog.md
|
[plugin documentation]: ../plugins/blog.md
|
||||||
|
Loading…
Reference in New Issue
Block a user