From 253497cad45b086aae3cc1c99e483146440ae8c2 Mon Sep 17 00:00:00 2001 From: Denis Bezykornov <archidevil52@gmail.com> Date: Sat, 16 Mar 2024 17:16:58 +0000 Subject: [PATCH] docs: add config for Caddy server (#1002) --- docs/plugins/Description.md | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/docs/plugins/Description.md b/docs/plugins/Description.md index 6849b3c..526bb01 100644 --- a/docs/plugins/Description.md +++ b/docs/plugins/Description.md @@ -14,6 +14,7 @@ This plugin accepts the following configuration options: - `descriptionLength`: the maximum length of the generated description. Default is 150 characters. The cut off happens after the first _sentence_ that ends after the given length. +- `replaceExternalLinks`: If `true` (default), replace external links with their domain and path in the description (e.g. `https://domain.tld/some_page/another_page?query=hello&target=world` is replaced with `domain.tld/some_page/another_page`). ## API -- Gitblit v1.10.0