Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

How to remove menu-items from Woo skeleton

Solved by pamtbaau View solution

Started by Paul 3 years ago · 2 replies · 263 views
3 years ago

I am new to Grav and using the Woo skeleton as a starting point. When I add new page it appears in the navigation, and it dissapears when page removed. However all existing pages (the ones that were part of the skeleton) remain in the navigation bar, no matter what I do. The pages that came with the skeleton.

3 years ago Solution

@pmflav, That's because this theme uses menu-items which are hardcoded in
/user/config/site.yaml

YAML
menu:
  - text: Features
    link: "#features"
  - text: Pricing
    link: "#pricing"
  - text: Screenshots
    link: "#screenshots"
  - text: Testimonials
    link: "#testimonials"
  - text: Subscribe
    link: "#subscribe"    
👍 1
3 years ago

You are a legend. Thankyou

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 4 days ago
2 133 1 day ago
General · by pamtbaau, 1 day ago
1 93 1 day ago
General · by Andy Miller, 2 days ago
0 77 2 days ago
General · by Marcel, 12 months ago
6 387 5 days ago
General · by Duc , 6 days ago
3 72 6 days ago