You are viewing an older version of the Navigation documentation (1.x). View the latest version (3.x) →
Template Guides

Breadcrumbs

craft.navigation.breadcrumbs()

You can retrieve a list of elements to be used as breadcrumbs. They are not based on your navigation items, and instead use the current URL segments.

{% for crumb in craft.navigation.breadcrumbs() %}
    {{ crumb.link }}
{% endfor %}