Override topic-list-item.hbr template for specific page

Hi all!

In my custom theme i override template topic-list-item.hbr but it affected the related topics, messages, etc. How can I override this template only for the main list of topics, categories and tags?

Such a list of topics breaks the layout for the list of messages and does not look very good, I would like to leave the old list there

1 Like

This writeup might be helpful :slight_smile:

I realize that the condition you need to use is non-trivial.

4 Likes

I do not quite understand, can you tell us a little? Or maybe there is more information about this

1 Like

As I said, its non-trivial. But its would be really interesting to know whether there’s interest among other devs or the discourse team to facilitate this in a simpler manner.

1 Like

Here is some information about it

1 Like