# Template override "if homepage" conditional

**URL:** https://meta.discourse.org/t/template-override-if-homepage-conditional/54815
**Category:** Development
**Created:** [27.Декабрь.2016 06:23:09 UTC](https://meta.discourse.org/t/template-override-if-homepage-conditional/54815 "2016-12-27T06:23:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![planted](https://avatars.discourse-cdn.com/v4/letter/p/90db22/32.png) [@planted](https://meta.discourse.org/u/planted)
#### Post date: [27.Декабрь.2016 06:23:09 UTC](https://meta.discourse.org/t/template-override-if-homepage-conditional/54815/1 "2016-12-27T06:23:09Z")

</div>

Hi there, I am wanting to show a block on the homepage only by overriding a template and putting a conditional in there along the lines of:

```
{{#if homepage}}
  homepage content
{{/if}}

```

Can someone please give me a hand with the correct statement needed to make that work.

Thanks, I am having fun trying to customise this 🙂
