This is a Theme Component but has the option to add a complementary plugin.
![]() |
Summary | The original Topic Preview component that allows you to add images and excerpts (and more!) to the Topic List whilst being able to configure what additions appear on what list. |
![]() |
Repository Link | GitHub - merefield/discourse-tc-topic-list-previews: Enriches the content and layout of topic lists |
![]() |
Install Guide | Installing a theme or theme component |
![]() |
Sponsorship | Please consider becoming an ongoing sponsor of my open source work at a level that suits your or your organisation’s resources and needs to ensure this component gets the maintenance it deserves and continues to work for your site in the future. |
Enjoying this Theme Component? Please it on GitHub
Install this theme component
Works really well with Discourse Bars 🍻 🍸 (a sidebar framework)!
Overview
Topic List Previews allows you to:
- Add images, excerpts, and topic stats to topic list items; and
- Change the layout and style of topic list items
- Add ‘Featured’ topics above topic lists and topics.
- Add User Wall to User’s activity page (aka ‘Portfolio’ Feature).
The Sidecar
This can be complemented with the ‘sidecar plugin’: https://github.com/merefield/discourse-topic-previews-sidecar
to add the following features:
- ‘actions’ (bookmarking, linking and liking from Topic List)
- Thumbnail Picker in the Topic Meta Editor. (Pick any thumbnail from the entire Topic using a simple UI)
- Colourisation of background based on dominant colour of the thumbnail
- Processing of YouTube thumbnails to remove any black borders (critical to determining the best dominant colour).
- Option to recreate thumbnails on rebuild of Topic Post to allow you to quickly manage border elimination on an individual Topic basis.
Plugin install guide: Install plugins on a self-hosted site
You need at least the Theme Component, the Plugin is optional.
These settings can be applied to all or selected topic lists on a site-wide or category-specific basis.
This flexible feature-set allows you create a variety of different topic list styles, including
Basic Style
Relevant settings
- topic list thumbnail
- topic list excerpt
- topic list action
Pinterest (Masonry) Style aka ‘tiles’
Relevant settings
- topic list tiles
- topic list thumbnail
- topic list excerpt
- topic list action
- topic list thumbnail width
- topic list thumbnail height
which has wide format option (behind setting topic_list_tiles_wide_format
):
This works responsively so will collapse to masonry format if not given enough width (and vice versa).
Featured Images
Relevant settings
- topic list featured images tag
- topic list featured images count
- topic list featured width
- topic list featured height
- topic list featured title
- topic list featured excerpt
- topic list featured order
Toggling Excerpts:
I introduced this a while back for use with my AI Topic Summaries plugin.
You can use it for TLP:
Examples in the Wild 
Support
I do not provide any guaranteed support for free. I can provide support to businesses or institutions who sign up to one of my GOLD or PLATINUM monthly Sponsorship tiers.
There is also a one-off bug hunt option.