Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Latest commit

 

History

History
28 lines (20 loc) · 714 Bytes

breadcrumb.md

File metadata and controls

28 lines (20 loc) · 714 Bytes

Breadcrumb

{% load nhsukfrontend_tags %}

<html>
...
<body>
  {% breadcrumb %}
</body>
</html>

The {% breadcrumb %} tag will render a breadcrumb with a link to every parent page up to and including your site root.

For example if you have a page at /page1/page2/page3/, the breadcrumb will show Home > Page1 > Page2.

URLs are generated with the wagtail pageurl tag.

page.title is used for the page names.

Reference

Service Manual
Frontend Library