All custom pages are blank

#1

I’m hoping for some help creating a few custom pages - especially my homepage. No matter what I do, it just shows blank content.

Before everyone jumps in, I have gone through the tutorial here: https://docs.ghost.org/tutorials/custom-home-page/?_ga=2.6565243.814191385.1553927816-1893643386.1529725367

This is my routes.yaml file

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

collections:
  /:
    permalink: /blog/{slug}/
    template: index

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

I have a page called home.

I have a new template file called home.hbs which is a copy of another template file.

What am I missing here?

I’ve uploaded the yaml, I’ve got the template file… no matter what I put in the template file, nothing loads… I just get the header and footer.

0 Likes

#2

Solved!

Just needed to restart Ghost. Obviously it needed a restart to find the new template files.

FYI, does anyone know of a blog or training site that has really good in-depth training for Ghost. I find the documentation super vague and not helpful at all.

0 Likes

closed #3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

0 Likes