# Static page not working

**URL:** <https://forum.ghost.org/t/static-page-not-working/18309>\
**Category:** Developer help\
**Created:** [November 17, 2020, 1:34am UTC](https://forum.ghost.org/t/static-page-not-working/18309 "2020-11-17T01:34:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_Hayselden](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/robert_hayselden/32/10376_2.png) [@Robert\_Hayselden](https://forum.ghost.org/u/Robert_Hayselden)\
**Post date:** [November 17, 2020, 1:34am UTC](https://forum.ghost.org/t/static-page-not-working/18309/1 "2020-11-17T01:34:11Z")

</div>

I am running into an issue creating a static home page. I have created a home.hbs which looks like this:

```
> {{!< default}}
> 
> {{#page}}
> 
> <article class='c-{{ post_class }}'>
> {{> post-header }}
> 
> <section class='c-content'>
> {{ content }}
> </section>
> </article>
> 
> {{/page}}

```

I have edit the yaml file like this:

```
> routes:
> /signup/: members/signup
> /signin/: members/signin
> /account/: members/account
> /:
> data: page.home
> template: home
> 
> 
> collections:
> /:
> permalink: /{slug}/
> template: index
> 
> taxonomies:
> tag: /tag/{slug}/
> author: /author/{slug}/

```

I have created a page in ghost with the slug home. Also I am running and testing locally.  
I have try lots of things. It seems to be routing correctly. Because when I type in the URL local/home it takes me to local/.

It appears that the problem exists in the home.hbs not pulling the content from the created page in ghost.

Thanks for you help

Robert.

---

<div class="post-metadata">

**Author:** ![minimaluminium](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/minimaluminium/32/2652_2.png) [@minimaluminium](https://forum.ghost.org/u/minimaluminium)\
**Post date:** [November 17, 2020, 2:43am UTC](https://forum.ghost.org/t/static-page-not-working/18309/2 "2020-11-17T02:43:14Z")

</div>

Hey Robert, try replacing `{{#page}}` and `{{/page}}` with `{{#post}} {{/post}}`. You can read more about the page context data [here](https://ghost.org/docs/api/v3/handlebars-themes/context/page/#data).

---

<div class="post-metadata">

**Author:** ![Robert\_Hayselden](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/robert_hayselden/32/10376_2.png) [@Robert\_Hayselden](https://forum.ghost.org/u/Robert_Hayselden)\
**Post date:** [November 17, 2020, 3:35am UTC](https://forum.ghost.org/t/static-page-not-working/18309/3 "2020-11-17T03:35:07Z")

</div>

Thanks for the quick reply.

I have tried this but it did not work

---

<div class="post-metadata">

**Author:** ![apgold](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/apgold/32/11790_2.png) [@apgold](https://forum.ghost.org/u/apgold)\
**Post date:** [February 27, 2021, 7:46pm UTC](https://forum.ghost.org/t/static-page-not-working/18309/4 "2021-02-27T19:46:53Z")

</div>

Hey Robert - I was experiencing the same problem until I realized that the Home page I created with the `home` slug wasn’t a Page at all … it was a Post. Once I realized my mistake, I was able to access all page content within the `{#page} ... {/page}` tag in `home.hbs`. Hope this helps.
