1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-24 07:30:12 +01:00

Documentation

This commit is contained in:
squidfunk 2022-09-27 15:58:10 +02:00
parent b1b401d5ae
commit 8202d13c24

View File

@ -324,11 +324,21 @@ 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:
``` yaml
plugins:
- blog:
post_excerpt_max_categories: 5
```
=== "Render up to 2 categories in excerpts"
``` yaml
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 }