# Modify TopicExcerpt template?

**URL:** <https://meta.discourse.org/t/modify-topicexcerpt-template/352136>\
**Category:** Development\
**Created:** [February 13, 2025, 7:12pm UTC](https://meta.discourse.org/t/modify-topicexcerpt-template/352136 "2025-02-13T19:12:52Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![dsims](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dsims/32/485916_2.png) [@dsims](https://meta.discourse.org/u/dsims)\
**Post date:** [February 13, 2025, 7:12pm UTC](https://meta.discourse.org/t/modify-topicexcerpt-template/352136/1 "2025-02-13T19:12:53Z")

</div>

I want to add the topic-creator avatar to topic-list excerpts, but there doesn’t seem to be anyway to modify the Topic Excerpt.

TopicExcerpt:

> <https://github.com/discourse/discourse/blob/5f00ae2ca9cebb94667d0a6c40b472db10e04beb/app/assets/javascripts/discourse/app/components/topic-list/topic-excerpt.gjs>

I think the only option is to hide `.topic-excerpt` with CSS and use my own component via the `topic-list-main-link-bottom` Plugin Outlet which is right under the TopicExcerpt area. The problem with _that_ is the plugin outlet only gets the topic as an arg, so I have to duplicate _all_ the logic in [`expandPinned`](https://github.com/discourse/discourse/blob/5f00ae2ca9cebb94667d0a6c40b472db10e04beb/app/assets/javascripts/discourse/app/components/topic-list/item.gjs#L57) to know if I should be showing it or not.

tl;dr; **Could we get a PluginOutlet inside the TopicExcerpt and/or pass `@expandPinned` to the `topic-list-main-link-bottom` outlets?**

---

_[View the full topic](https://meta.discourse.org/t/modify-topicexcerpt-template/352136)._
