This commit is contained in:
curegit 2024-03-28 23:22:03 +09:00 committed by GitHub
commit 18844a07a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -770,7 +770,7 @@ func (c *cachedContent) contentPlain(ctx context.Context, cp *pageContentOutput)
result.readingTime = (result.wordCount + 212) / 213
}
if rendered.summary != "" {
if c.pi.hasSummaryDivider || rendered.summary != "" {
result.summary = rendered.summary
result.summaryTruncated = rendered.summaryTruncated
} else if cp.po.p.m.pageConfig.Summary != "" {