Last active
April 18, 2024 19:56
-
-
Save VincentLoy/e693aa1f149a59f465a5a71b6d937b9a to your computer and use it in GitHub Desktop.
Easy snippet to get breadcrumb in a Wagtail page
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As of Wagtail 6.1 this should get updated to populate an array inside of a view; to then use in a template.
For the routed page; this will make sure the query count will be zero. The database should NOT be hit.
Rough sketch:
And then in the template: