Install this theme component
Features
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.
Settings
Name
Description
show excerpts mobile
show excerpts desktop
enabled categories
Enable excerpts in specific categories. Leave both categories and tags blank to show excerpts on all routes
enabled tags
Enable excerpts in specific tags. Leave both categories and tags blank to show excerpts on all routes.
Hosted by us? Theme components are available to use on our Standard, Business, and Enterprise plans.
Last edited by @JammyDodger 2024-06-15T19:28:50Z
Check document Perform check on document:
47 „Gefällt mir“
Great, a blog-like topic listing (together with Topic List Thumbnails Component)!
Can it be restricted by category like the other component?
7 „Gefällt mir“
david
(David Taylor)
15. Mai 2020 um 13:01
4
13 „Gefällt mir“
Thanks, much appreciated.
I also take the chance to report that there is some kind of incompatibility with the Topic Thumbnails component, since the images appear twice for each topic in the topic list (topic list option on thumbnails component + topic excerpts component).
2 „Gefällt mir“
david
(David Taylor)
18. Mai 2020 um 14:30
6
You’re right, sorry about that. Should be fixed now
committed 02:29PM - 18 May 20 UTC
9 „Gefällt mir“
downey
(Michael Downey)
3. März 2021 um 23:44
15
Love this component; thank you! Is there any way to adjust the word/character length of the excerpts displayed in topic lists? (Never mind, I found the topic excerpt maxlength
site setting, adjusted it, and rebuilt HTML for the topic posts in question.)
3 „Gefällt mir“
th21
3. April 2022 um 00:36
26
The category setting works but the tag setting is not working on the latest discoures.
2 „Gefällt mir“
david
(David Taylor)
12. April 2022 um 11:02
27
@th21 tag handling should now be fixed - sorry for the delay!
3 „Gefällt mir“
Canapin
(Coin-coin le Canapin)
Hat dieses Thema aufgeteilt,
12. September 2023 um 12:50
29
Canapin
(Coin-coin le Canapin)
Hat dieses Thema aufgeteilt,
12. September 2023 um 12:30
32
Ryan121
1. November 2023 um 16:55
34
Hi,why the read more is grey in my site but in yours is blue, how can i chane the color?
1 „Gefällt mir“
Hi, you can use CSS to customize.
For example, using the predefined color for links. Though, you can provide the color you want.
.topic-excerpt-more {
color: var(--tertiary);
}
1 „Gefällt mir“
Hi, this component gets rendered on the discourse docs plugin page and makes the excerpt clickable to the url of the discourse discussion not the doc url, is there anyway to avoid this from happening?
Hi, it’s possible to show the latest post instead of the first post?
1 „Gefällt mir“
dsims
(Daniel)
17. Mai 2024 um 12:36
38
I have a plugin + theme-component for this: Topic List Latest-Post Excerpt
2 „Gefällt mir“
There is a problem with the theme component in desktop?
when i have it enabled, thats shows avatars like that:
i have updated my discourse today
EDIT: IS there a way to limit the number of lines/characters for the excerpt?
2 „Gefällt mir“
eisammy
(Sammy)
29. Dezember 2024 um 17:02
40
Yeah same here
Lastest it’s okay when logouted but others routes when discourse-right-sidebar-blocks are enabled this happen
Jagster
(Jakke Lehtonen)
3. März 2025 um 11:26
41
The excerpt toggle button isn’t visible on mobiles. By desing, an accident or am I asking too early?
I love this! Is there any way to block excerpts from showing on private messages?
Canapin
(Coin-coin le Canapin)
20. März 2025 um 15:45
43
I’ve tried this component, and it doesn’t show excerpts on personal messages.