Hello,
I am creating my first Ghost theme & started working on the members part of the site today. I noticed that at first, my signin & signup pages were 404’s even though my file structure is as follows :
ghost
- content
- - themes
- - - my-theme
- - - - members
- - - - - signin.hbs
- - - - - signup.hbs
Then I realized I had no routes.yaml, so I made a routes.yaml & uploaded it on my ghost admin site. Here is what my routes.yaml looks like :
routes:
/signup/: members/signup
/signin/: members/signin
collections:
/:
permalink: /{slug}/
template: index
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
My links within my partials/site-nav.hbs
<a href="{{@site.url}}/signin/" class="...">Sign In</a>
<a href="{{@site.url}}/signup/" class="...">Sign Up</a>
Everything else on my theme is working, but for some reason my signin & signup pages get the error 400 with the message :
Missing template members/signin.hbs for route “/signin/”.
Go to the front page →
So I’ve checked & recreated my file structure 4 times now. With each time I made the folder & files in VSCode & restarted ghost everytime. Then on the 4th time, I stopped ghost all together. Made the folder & files in Windows Explorer & still get the same error when I started ghost again.