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.