# Change Default Avatar in home page (for original author avatar)

**URL:** https://meta.discourse.org/t/change-default-avatar-in-home-page-for-original-author-avatar/54010
**Category:** Support
**Created:** [12월 9, 2016, 10:18오전 UTC](https://meta.discourse.org/t/change-default-avatar-in-home-page-for-original-author-avatar/54010 "2016-12-09T10:18:26Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)
#### Post date: [1월 13, 2019, 4:54오전 UTC](https://meta.discourse.org/t/change-default-avatar-in-home-page-for-original-author-avatar/54010/5 "2019-01-13T04:54:35Z")

</div>

If you’re referring to the “latest” list on the categories page, then this is what you need to change:

[https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/templates/components/latest-topic-list-item.hbs#L2-L4](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/templates/components/latest-topic-list-item.hbs#L2-L4)

If you want the avatar of the topic creator, you need to pass that instead, so you go from

```plaintext
{{#user-link user=topic.lastPoster}}
  {{avatar topic.lastPoster imageSize="large"}}
{{/user-link}}

```

to

```plaintext
{{#user-link user=topic.creator}}
  {{avatar topic.creator imageSize="large"}}
{{/user-link}}

```

So something like this in the header section of your theme

```plaintext
<script type="text/x-handlebars" data-template-name="components/latest-topic-list-item">
<div class='topic-poster'>
 {{#user-link user=topic.creator}}
  {{avatar topic.creator imageSize="large"}}
 {{/user-link}}
</div>
<div class='main-link'>
 <div class='top-row'>
  {{raw "topic-status" topic=topic}}
  {{topic-link topic}}
  {{#if topic.featured_link}}
   {{topic-featured-link topic}}
  {{/if}}
  {{topic-post-badges newPosts=topic.totalUnread unseen=topic.unseen url=topic.lastUnreadUrl}}
 </div>
 <div class='bottom-row'>
  {{category-link topic.category}}
  {{discourse-tags topic mode="list"}}
 </div>
</div>
<div class='topic-stats'>
 {{raw "list/posts-count-column" topic=topic tagName="div"}}
 <div class="topic-last-activity">
  <a href="{{topic.lastPostUrl}}" title="{{topic.bumpedAtTitle}}">{{format-date topic.bumpedAt format="tiny" noTitle="true"}}</a>
 </div>
</div>
</script>

```

there’s more on template overrides [here](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648#heading--4-b-2)

---

_[View the full topic](https://meta.discourse.org/t/change-default-avatar-in-home-page-for-original-author-avatar/54010)._
