I try to understand how breadcrumbs work in website module.
I created a webpage with route “category/page”
Then I had a parent menu “category” in the navbar and a child entry with parent “category” and route “category/page”.
But there is no breadcrumbs on my webpage with route “http://localhost/category/page”
Any help will be appreciate to understand the functional.
Routes are just strings, so they are not hierarchical.
If you want to add breadcrumbs, add this to your context:
context.parents = [dict(route='/category', label='Categories')]
I’ll had a field in Web Page like in Web Form to manage breadcrumbs in desk UI, and send a PR.
I 've just sent a PR to add context in WebPage doctype.