Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 481 Bytes

Breadcrumb

The {{ breadcrumb }} variable contains the breadcrumb for the page. It is a simple one dimensional array of item objects. You can loop over the breadcrumb and print the elements out like this:

<ul class="breadcrumb">
{% for element in breadcrumb %}
    <li><a href="{{ element.urlRel }}">{{ element.name }}</a></li>
{% endfor %}
</ul>

All informations of the items are available, so check the chapter about the item variable for more details.

You can’t perform that action at this time.