markdown: Render lists as part of summary (upstream bug workaround)

See github.com/russross/blackfriday/issues/189
This commit is contained in:
Matthew Holt
2015-08-04 18:31:14 -06:00
parent e4643f048a
commit 7173764d6d
2 changed files with 43 additions and 35 deletions

View File

@ -142,7 +142,7 @@ func (l *linkGen) generateLinks(md Markdown, cfg *Config) bool {
Title: metadata.Title,
URL: reqPath,
Date: metadata.Date,
Summary: string(blackfriday.Markdown(summary, PlaintextRenderer{}, 0)),
Summary: string(blackfriday.Markdown(summary, SummaryRenderer{}, 0)),
})
break // don't try other file extensions