We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1b401d commit 8202d13Copy full SHA for 8202d13
docs/setup/setting-up-a-blog.md
@@ -324,11 +324,21 @@ The following configuration options are available for posts:
324
multiple categories, the [built-in blog plugin] can be instructed to only
325
show the first `n` categories to keep it short and concise:
326
327
- ``` yaml
328
- plugins:
329
- - blog:
330
- post_excerpt_max_categories: 5
331
- ```
+ === "Render up to 2 categories in excerpts"
+
+ ``` yaml
+ plugins:
+ - blog:
332
+ post_excerpt_max_categories: 2
333
+ ```
334
335
+ === "Disable categories in excerpts"
336
337
338
339
340
+ post_excerpt_max_categories: 0
341
342
343
[`post_excerpt_separator`](#+blog.post_excerpt_separator){ #+blog.post_excerpt_separator }
344
0 commit comments