{# @description A breadcrumb trail that fits whatever width it is given. Crumbs that do not fit fold into a "…" menu, starting from the middle of the trail, so the first step, the parent and the current page stay on screen longest. Guidelines: start at the first level below home (the header's site icon already links home, so no Home step); show the site's hierarchy, never the visitor's history; one fixed path for a page with several parents; end with the current page as text, not a link; every other step is a real page; skip breadcrumbs on a site one or two levels deep; add to the sidebar and menus, never replace them; no maximum number of steps, the trail folds what does not fit; keep labels short. Source: Nielsen Norman Group, "Breadcrumbs: 11 Design Guidelines for Desktop and Mobile". #} {# @prop items:text | description:"A list of dicts, each with text, an optional href and an optional icon. The last one is the current page." #} {# @prop class:text | description:"Extra classes on the nav." #} {# @prop aria-label:text | description:"Accessible name of the trail. Defaults to a translated Breadcrumbs." #} {# @slot — The trail's steps as c-mvp.breadcrumbs.item components, used when no items are given. #} {% load i18n %}