You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 3, 2022. It is now read-only.
We seem to have to write a menu for every site. It would be worth having some reusable code in this repo that can easily be plugged in.
Something suitable for:
primary menu - the main areas/top sections of the site
secondary menu - shows the current page's siblings and parent's siblings or similar.
breadcrumbs - displays the current page's position within the site
Ideally we'd be able modify it with parameters. Such as how deep it goes, whether to show parents and their siblings, what level to consider "root" (in case of multiple sites/translations in one build)
The text was updated successfully, but these errors were encountered:
Seems like this would be a good thing to have in Wagtail itself (either in core or contrib), since it's not just Torchbox projects (or projects using Torchbox's project standards) that would benefit from this. Best practice for creating menus is a question that's come up in e.g. wagtail/wagtail#776 - so it would be nice to have a drop-in solution for projects created with wagtail start. (I suspect that pasting code in from wagtaildemo is the most common route right now...)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We seem to have to write a menu for every site. It would be worth having some reusable code in this repo that can easily be plugged in.
Something suitable for:
Ideally we'd be able modify it with parameters. Such as how deep it goes, whether to show parents and their siblings, what level to consider "root" (in case of multiple sites/translations in one build)
The text was updated successfully, but these errors were encountered: