]> git.maquefel.me Git - brevno-suite/hugo/commit
hugolib: Fix regression for blank summaries
authorcuregit <37978051+curegit@users.noreply.github.com>
Fri, 5 Apr 2024 15:43:55 +0000 (00:43 +0900)
committerGitHub <noreply@github.com>
Fri, 5 Apr 2024 15:43:55 +0000 (17:43 +0200)
commit26640525a313ef284c26866e5138b7189e841a22
tree59b583f7018bd34af67e757ca66b7be0f7936048
parent488b21d15b51f19f790922311ec13b16d784e1f7
hugolib: Fix regression for blank summaries

Fix regression in content summarization so that we can use empty
summary by using the manual summary divider. Since v0.123, there
has been the regression that causes Hugo to use automatic summary
generation when the manual summary results in an empty string,
even if there is a `<!--more-->` summary divider.
hugolib/page__content.go
hugolib/page_test.go