From 8202d13c249fec0a3a20334d12ce520c31d4774e Mon Sep 17 00:00:00 2001 From: squidfunk Date: Tue, 27 Sep 2022 15:58:10 +0200 Subject: [PATCH] Documentation --- docs/setup/setting-up-a-blog.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/docs/setup/setting-up-a-blog.md b/docs/setup/setting-up-a-blog.md index b7ab51d15..c0e747259 100644 --- a/docs/setup/setting-up-a-blog.md +++ b/docs/setup/setting-up-a-blog.md @@ -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 }