Documentation

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

View File

@ -324,10 +324,20 @@ 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:
=== "Render up to 2 categories in excerpts"
``` yaml ``` yaml
plugins: plugins:
- blog: - 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 } [`post_excerpt_separator`](#+blog.post_excerpt_separator){ #+blog.post_excerpt_separator }