fix(description): first sentence no longer repeats until max length (#981)

This commit is contained in:
Emile Bangma 2024-03-09 17:43:40 +01:00 committed by GitHub
parent b30a200bd4
commit 2e9a0c21db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,6 +61,7 @@ export const Description: QuartzTransformerPlugin<Partial<Options> | undefined>
const currentSentence = sentence.endsWith(".") ? sentence : sentence + "."
finalDesc.push(currentSentence)
currentDescriptionLength += currentSentence.length
sentenceIdx++
}
}