# Changing Navigation on Theme

**URL:** <https://forum.ghost.org/t/changing-navigation-on-theme/10738>\
**Category:** Themes\
**Created:** [December 10, 2019, 9:08pm UTC](https://forum.ghost.org/t/changing-navigation-on-theme/10738 "2019-12-10T21:08:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pearcy](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@pearcy](https://forum.ghost.org/u/pearcy)\
**Post date:** [December 10, 2019, 9:08pm UTC](https://forum.ghost.org/t/changing-navigation-on-theme/10738/1 "2019-12-10T21:08:00Z")

</div>

Hi,

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.

1. Created a home.hbs page (copied the index.hbs and removed the “posts”.
2. Added to the routes.yaml file  
routes:  
/: home
3. Page is showing fine but I can’t figure out how to change the navigation.
4. I learn by doing and want to edit the handlebar files directly (not interested in injecting code from GUI).

Current Page

 ![Screen Shot 2019-12-10 at 12.37.41 PM](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/0/0e07620a08151865ecb61ab0b6bb9553e4470f59.png)

Here is the navigation that I would like the page to have (logo on left) on the “home” page.

 ![Screen Shot 2019-12-10 at 12.40.24 PM](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/9/9d274fb7e7c9a171b9c2ea31466397298930b105.png)

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).

```
   <header class="site-header">
<div class="outer site-nav-main">
    <div class="inner">
        {{> "site-nav"}}
    </div>
</div>

```

Any suggestions would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![pearcy](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@pearcy](https://forum.ghost.org/u/pearcy)\
**Post date:** [December 11, 2019, 12:51am UTC](https://forum.ghost.org/t/changing-navigation-on-theme/10738/2 "2019-12-11T00:51:44Z")

</div>

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)

Here is my current “home” page that is at the root /.  
[http://localhost:2368](http://localhost:2368)

 ![Screen Shot 2019-12-10 at 4.44.08 PM](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/4/4464a1da91fdfa34659ac37540e7331ed276e129.png)

And I was able to create a new “home” page which shows up at:  
[http://localhost:2368/home/](http://localhost:2368/home/)

 ![Screen Shot 2019-12-10 at 4.46.27 PM](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/a/afbfe311c2a899f53b8fa987bb85510d1c97e20c.jpeg)

I would like the “home” page ([http://localhost:2368/home/](http://localhost:2368/home/)) to show up at the root directory ([http://localhost:2368](http://localhost:2368))

I did try to change the routes.yaml file per this tutorial but it didn’t work.

> **[How to build a custom homepage for your Ghost theme](https://ghost.org/tutorials/custom-homepage/)**
>
> A gorgeous hero section, engaging calls to action, stunning photography — learn how to build a custom homepage for your Ghost theme in this tutorial.

Tried these two settings to routes.yaml (based on two different articles I read)

```
routes:

```

/:  
data: page.home  
template: home

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

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

and this:

routes:

/:

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

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

And I did make the changes several times, stopping/starting ghost each time to make that the changes took effect.

the “home” page that is working was created via the admin GUI

 ![Screen Shot 2019-12-10 at 4.58.20 PM](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/6/6fab0a23e9586b64addad74f7065c7d63fc71f51.png)

I also created a home.hbs page (copy of index.hbs file) but I couldn’t make it show up at the root level.
