I am learning Ghost and am loving it. I installed a local copy and have been able to add, edit and change most everything. I followed several online tutorials but need help figuring out how to make the navigation consistent (the theme uses a slightly different version of the navigation for the “index” page vs. the rest of the site). The goal is to create a static home page without posts (I figured this part out) and a consistent navigation on all pages.
My steps:
** editing with VS Code on a Mac. Using CL for stop, start, etc.
Created a home.hbs page (copied the index.hbs and removed the “posts”.
Added to the routes.yaml file
routes:
/: home
Page is showing fine but I can’t figure out how to change the navigation.
I learn by doing and want to edit the handlebar files directly (not interested in injecting code from GUI).
Questions:
a. Should I be editing in the “Content”/Themes"/“Casper”/ folder or the “Current”/“Content”/Themes"/“Casper”/ folder. This is very confusing to someone who is new. Why two seemingly duplicate repositories?
b. I tried replacing the “header” code with the the “page.hbs” code but it doesn’t do the trick (blank top part of page).
I tried to take a slightly different approach and I believe I am closer to getting what I need. Using a different theme ( liebling - which has a consistent navigation on all pages), I was able to create a static “home” page that is acting like I would expect it to. The only problem is that I can’t direct it to the root / directory.
Editing theme in this directory
ghost3 ▸ content ▸ themes ▸ liebling
routes.yaml file is in this directory
ghost3 ▸ content ▸ settings
(in my first post using the Casper them it was in current → content ▸ settings)