Breadcrumb allows navigation of the page hierarchy relative to the current page. It is commonly added to a page template, in the header or footer.
Simple breadcrumb with no configuration applied. Shows the current page in relation to the page hierarchy.
- jcr:primaryType: nt:unstructured
- jcr:createdBy: admin
- startLevel: 2
- jcr:lastModifiedBy: admin
- jcr:created:
- showHidden: false
- jcr:lastModified:
- hideCurrent: false
- sling:resourceType: core-components-examples/components/breadcrumb
The Navigation Start Level is set to two by default, which is typically the site root. In this example, we increase it to three to display a breadcrumb for a section one level lower.
- jcr:primaryType: nt:unstructured
- jcr:createdBy: admin
- startLevel: 3
- jcr:lastModifiedBy: admin
- jcr:created:
- showHidden: false
- jcr:lastModified:
- hideCurrent: false
- sling:resourceType: core-components-examples/components/breadcrumb
By default, pages that are marked as Hide in Navigation are not displayed in the breadcrumb. It is possible to configure a breadcrumb so that they are shown.
- jcr:primaryType: nt:unstructured
- jcr:createdBy: admin
- startLevel: 2
- jcr:lastModifiedBy: admin
- jcr:created:
- showHidden: true
- jcr:lastModified:
- hideCurrent: false
- sling:resourceType: core-components-examples/components/breadcrumb
By default, the current page is shown in the navigation. It is possible to configure a breadcrumb so that it is hidden.
- jcr:primaryType: nt:unstructured
- jcr:createdBy: admin
- startLevel: 2
- jcr:lastModifiedBy: admin
- jcr:created:
- showHidden: false
- jcr:lastModified:
- hideCurrent: true
- sling:resourceType: core-components-examples/components/breadcrumb