From 2e9a0c21db717c324a74f761fb0910b1218fdd72 Mon Sep 17 00:00:00 2001 From: Emile Bangma Date: Sat, 9 Mar 2024 17:43:40 +0100 Subject: [PATCH] fix(description): first sentence no longer repeats until max length (#981) --- quartz/plugins/transformers/description.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/quartz/plugins/transformers/description.ts b/quartz/plugins/transformers/description.ts index 2ec88804a..5900745c4 100644 --- a/quartz/plugins/transformers/description.ts +++ b/quartz/plugins/transformers/description.ts @@ -61,6 +61,7 @@ export const Description: QuartzTransformerPlugin | undefined> const currentSentence = sentence.endsWith(".") ? sentence : sentence + "." finalDesc.push(currentSentence) currentDescriptionLength += currentSentence.length + sentenceIdx++ } }