{% extends "wagtailadmin/shared/breadcrumbs.html" %} {% load i18n wagtailadmin_tags %} {% comment "text/markdown" %} The breadcrumb component is reused across all of Wagtail’s headers when the page tree context is needed. Variables this template accepts: `items` - A list of wagtail page objects `trailing_breadcrumb_title` (string?) - use this for a non linkable last breadcrumb `classname` - Modifier classes `is_expanded` - Whether the breadcrumbs are always expanded or not, if True the breadcrumbs will not be collapsible {% endcomment %} {% block breadcrumbs_items %} {% for page in items %} {% if page.is_root and url_root_name %} {% url url_root_name as breadcrumb_url %} {% else %} {% url url_name page.id as breadcrumb_url %} {% endif %} {% if forloop.last %}