mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 03:57:24 +00:00
Merge 79512c9fd8
into 74ce5dc841
This commit is contained in:
commit
18844a07a3
|
@ -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 != "" {
|
||||
|
|
Loading…
Reference in a new issue