Topic List Excerpts

:discourse2: Summary Topic List Excerpts allows you to enable excerpts for unpinned topics (by default, Discourse only displays topic excerpts for pinned topics).
:eyeglasses: Preview Preview on theme creator
:hammer_and_wrench: Repository Link https://github.com/discourse/discourse-topic-excerpts
:open_book: New to Discourse Themes? Beginner’s guide to using Discourse Themes

Install this theme component

Works great alongside Topic List Thumbnails in “list” mode!

:information_source: 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.


:bulb: 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.

45 Likes