mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Documentation
This commit is contained in:
parent
b1b401d5ae
commit
8202d13c24
@ -324,10 +324,20 @@ The following configuration options are available for posts:
|
||||
multiple categories, the [built-in blog plugin] can be instructed to only
|
||||
show the first `n` categories to keep it short and concise:
|
||||
|
||||
=== "Render up to 2 categories in excerpts"
|
||||
|
||||
``` yaml
|
||||
plugins:
|
||||
- blog:
|
||||
post_excerpt_max_categories: 5
|
||||
post_excerpt_max_categories: 2
|
||||
```
|
||||
|
||||
=== "Disable categories in excerpts"
|
||||
|
||||
``` yaml
|
||||
plugins:
|
||||
- blog:
|
||||
post_excerpt_max_categories: 0
|
||||
```
|
||||
|
||||
[`post_excerpt_separator`](#+blog.post_excerpt_separator){ #+blog.post_excerpt_separator }
|
||||
|
Loading…
Reference in New Issue
Block a user