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 Mi Piace
Great, a blog-like topic listing (together with Topic List Thumbnails Component)!
Can it be restricted by category like the other component?
7 Mi Piace
david
(David Taylor)
15 Maggio 2020, 1:01pm
4
Sure, I just added a category setting:
committed 12:58PM - 15 May 20 UTC
13 Mi Piace
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 Mi Piace
david
(David Taylor)
18 Maggio 2020, 2:30pm
6
You’re right, sorry about that. Should be fixed now
committed 02:29PM - 18 May 20 UTC
9 Mi Piace
downey
(Michael Downey)
3 Marzo 2021, 11:44pm
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 Mi Piace
th21
3 Aprile 2022, 12:36am
26
L’impostazione della categoria funziona, ma l’impostazione del tag non funziona sull’ultima versione di Discourse.
2 Mi Piace
david
(David Taylor)
12 Aprile 2022, 11:02am
27
@th21 la gestione dei tag dovrebbe essere ora risolta. Mi scuso per il ritardo!
3 Mi Piace
Canapin
(Coin-coin le Canapin)
Ha separato questo argomento il
12 Settembre 2023, 12:50pm
29
Canapin
(Coin-coin le Canapin)
Ha separato questo argomento il
12 Settembre 2023, 12:30pm
32
Ciao, perché il “leggi di più” sul mio sito è grigio mentre sul tuo è blu? Come posso cambiare il colore?
1 Mi Piace
Ciao, puoi usare il CSS per personalizzare.
Ad esempio, usando il colore predefinito per i link. Tuttavia, puoi fornire il colore che desideri.
.topic-excerpt-more {
color: var(--tertiary);
}
1 Mi Piace
Ciao, questo componente viene renderizzato sulla pagina del plugin di documentazione di Discourse e rende l’estratto cliccabile all’URL della discussione di Discourse, non all’URL del documento. C’è un modo per evitare che ciò accada?
Ciao, è possibile mostrare l’ultimo post invece del primo?
2 Mi Piace
dsims
(Daniel)
17 Maggio 2024, 12:36pm
38
Ho un plugin + componente tematico per questo: Topic List Latest-Post Excerpt
2 Mi Piace
C’è un problema con il componente del tema sul desktop?
quando lo attivo, mostra gli avatar così:
ho aggiornato il mio discourse oggi
MODIFICA: C’è un modo per limitare il numero di righe/caratteri per l’estratto?
2 Mi Piace
eisammy
(Sammy)
29 Dicembre 2024, 5:02pm
40
Sì, lo stesso qui
L’ultima volta è andato tutto bene quando ero disconnesso, ma altre rotte quando blocchi della barra laterale destra di discourse sono abilitati succede questo
Jagster
(Jakke Lehtonen)
3 Marzo 2025, 11:26am
41
Il pulsante di attivazione/disattivazione dell’estratto non è visibile sui dispositivi mobili. Per design, un incidente o sto chiedendo troppo presto?
Lo adoro! C’è un modo per bloccare gli estratti dai messaggi privati?
Canapin
(Coin-coin le Canapin)
20 Marzo 2025, 3:45pm
43
Ho provato questo componente e non mostra estratti nei messaggi personali.