Summary | Topic List Excerpts allows you to enable excerpts for unpinned topics (by default, Discourse only displays topic excerpts for pinned topics). | |
Preview | Preview on theme creator | |
Repository Link | https://github.com/discourse/discourse-topic-excerpts | |
New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
Install this theme component
Works great alongside Topic List Thumbnails in “list” mode!
The excerpts themselves are generated by Discourse Core, using the same logic as the excerpts of ‘pinned’ topics. If you have a query / suggestion about how the excerpts are built, please make a new support topic.
Tip: you can keep line breaks in excerpts by adding this CSS to your theme:
.topic-list .topic-excerpt {
white-space: pre-line;
}
Be aware that results may look off depending on the posts’ contents.