Page route for homepage, and blog issue

I think the problem is that the data: page.home attribute makes the resource available as {{page}} and not as {{post}} and that’s why you are seeing a blank page. This is the default behaviour - Ghost uses the resource type (in this case “page”) as name for the theme object.

If you would use this notation, it should work.

routes:
  /:
    data:
      post: page.home
    template: page

Or you have to use {{page}} in your template.

1 Like