getgrav / grav-theme-learn2

Learn2 Grav Theme
https://getgrav.org
MIT License
80 stars 42 forks source link

Broken breadcrumbs? #30

Open raymondjohnson opened 8 years ago

raymondjohnson commented 8 years ago

On the demo and skeleton site, the default page is "Basics." If I go to the "Overview" subpage, the breadcrumbs say

Basics > Overview

That's what I expect. What I don't expect is what I see if I go to, say, the intermediate page:

Basics > Intermediate

I've searched far and wide for a setting that will fix this. Intermediate isn't a subpage of Basics, so the breadcrumbs shouldn't look that way. All my efforts to find a setting in user/config/system.yaml and user/config/site.yaml have come up short. What's the fix to this? There must be one, because the Grav documentation site (https://learn.getgrav.org/) seems to work just fine.

Thanks for the help!

memtkmcc commented 8 years ago

@raymondjohnson It should be set by default, perhaps: goto admin/plugins/breadcrumbs and disable the "Include Home" option.

raymondjohnson commented 8 years ago

That's it! Or close enough, anyway: I changed "include_home" to false in user/plugins/breadcrumbs and now they look as they should.