longer excerpts

This commit is contained in:
Erik Winter 2020-12-31 11:11:37 +01:00
parent 60853fcbe2
commit 81a1d68334
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ func (p *Post) FullLink() string {
func (p *Post) HTMLSummary() *HTMLSummary {
summary := ""
if len(p.doc.Content) > 0 {
summary = fmt.Sprintf("<p>%s...</p>", TruncateOnSpace(p.doc.Content[0].Text(), 150))
summary = fmt.Sprintf("<p>%s...</p>", TruncateOnSpace(p.doc.Content[0].Text(), 300))
}
return &HTMLSummary{