Open davecranwell opened 9 years ago
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. https://github.com/torchbox/wagtail/issues/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...)
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)