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,11 +324,21 @@ The following configuration options are available for posts:
|
|||||||
multiple categories, the [built-in blog plugin] can be instructed to only
|
multiple categories, the [built-in blog plugin] can be instructed to only
|
||||||
show the first `n` categories to keep it short and concise:
|
show the first `n` categories to keep it short and concise:
|
||||||
|
|
||||||
``` yaml
|
=== "Render up to 2 categories in excerpts"
|
||||||
plugins:
|
|
||||||
- blog:
|
``` yaml
|
||||||
post_excerpt_max_categories: 5
|
plugins:
|
||||||
```
|
- blog:
|
||||||
|
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 }
|
[`post_excerpt_separator`](#+blog.post_excerpt_separator){ #+blog.post_excerpt_separator }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user