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


Great, a blog-like topic listing (together with Topic List Thumbnails Component)! :clap:

Can it be restricted by category like the other component?


Sure, I just added a category setting:


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).


You’re right, sorry about that. Should be fixed now


Unsure if I am missing something, but I can’t get this theme component to work :frowning:

When component is enabled all is rendered exactly the same as when disabled. Same happens when previewing. Have updated discourse to 2.5.0.beta5 ( f2647f1f36 ) component to latest release.

Installed plugins are as follows

Repository Status
discourse latest-release +89 Up to date
Official Plugin discourse-checklist decbc45 Up to date
discourse-custom-wizard 5f07814 Up to date
discourse-events ddaa6b5 Up to date
discourse-sidebar-blocks e8ecaf2 Up to date
discourse-topic-list-previews 1e9a400 Up to date
Official Plugin docker_manager f2a9499 Up to date

In testing, all features of topic list previews have been disabled

1 Like

Last month there was a change, unfortunately but I removed the TLP instead using:

Currently my website is working well with these 2 theme-components


Thank you. What version of Discourse and Topic List Excerpt do you use? I wonder if the issue can be that I have the latest 2.5 beta :thinking: anyhow, will try and rebuild without the TLP-plugin

1 Like

There’s no need to use this Theme Component with the TLP plugin? TLP delivers excerpts anyway and always has done. Why did you want to install this on top of TLP instead of just changing the TLP settings to add excerpts? They will likely step on each others toes.

You only need this TC if you are using neither the TLP plugin or the TLP TC.


I just want to confirm everything is working so well for now


hi, I’m using this component and the Excerpts seem to render wrong. As might appreciate, the text doesn’t include a \newline right after the tags. Anything I’m missing to set this up ? Thanks in advance!!

1 Like

Hi! I’m using this theme component for a poetry community and I would like that the excerpts do not escape new lines (so verses are still in separated lines, even in the excerpt).

I assume I must create some kind of simple (?) plugin to implement this functionality. I have been checking the Discourse code but I didn’t find where should I look in order to change that.

I would be really grateful if you could give some hint :slight_smile: .


1 Like

Recently, I left this blank but it doesn’t work.

When adding 1 or more categories it works.

1 Like

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.)


Found something! On mobile the text runs a little off the side when paired with topic preview.

This is an iPhone running the latest version of iOS.

1 Like

It can be possible to show last post instead original post in excerpt?


where did you adjust this setting?


edit* found it :slight_smile:

1 Like

This is a great theme component. It seems to be the case that to adjust the length of the excerpts you adjust the “topic excerpt maxlength” setting in /admin/site_settings… It also looks like if you change the length of the excerpt, it doesn’t change the excerpt shown for pre-existing topics, and if you want the change in length to apply to pre-existing topics, you need to make some kind of edit to those topics.

Is that right? Any way to have a change of excerpt length shown on the topics list apply to all topics, including pre-existing ones?

1 Like

Yup - you just need to rebake the posts:

$ cd /var/discourse
$ ./launcher enter app
$ rake posts:rebake

Hi @david,

I have two questions, please! Does this component allow the excerpt to be of the last/newest post in a topic? If it doesn’t, does this feature exist anywhere?


I see another user asked the same question about three posts above:
@matenauta :star_struck:

1 Like