Getting 404 page with custom home page

Hello guys, I am installed Ghost 3.25 to build custom theme on Manjaro Linux running Node.js 12. I want to build custom home page such that when I open localhost:2368 I need to see the custom home page. For this I created home.hbs.

routes.yaml looks like this:

    data: page.home
    template: home

  permalink: /blog/{slug}/
  template: index
  filter: slug:-home

 tag: /tag/{slug}/
 author: /author/{slug}/


{{> navigation}}

<div class="container-fluid home-landing">
    some home content

default.hbs is same as in caspter theme. index.hbs is empty.

With above config, I am getting 404 page on localhost:2368.

  • How was Ghost installed and configured?
    ghost install

  • What Node version, database, OS & browser are you using?
    Node.js 12, OS: Manjaro Linux (Arch Linux), Chormium

  • What errors or information do you see in the console?
    No errors in the console. ghost start works without any error.

  • What steps could someone else take to reproduce the issue you’re having?
    I am not sure. How about using my routes.yaml?


Have you created (and published) a page (not post) with a slug of home ?

I don’t think I did. Can you please tell me how I do that ?

somehow, removing the line data: page.home (line 3) worked. Thanks for the hint.

1 Like