claro-8.x-1.x-dev/templates/breadcrumb.html.twig
templates/breadcrumb.html.twig
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | {# /** * @file * Theme override for a breadcrumb trail. * * Available variables: * - breadcrumb: Breadcrumb trail items. */ #} {% if breadcrumb %} <nav class = "breadcrumb" role= "navigation" aria-labelledby= "system-breadcrumb" > <h2 id= "system-breadcrumb" class = "visually-hidden" >{{ 'Breadcrumb' |t }}</h2> <ol class = "breadcrumb__list" > {% for item in breadcrumb %} <li class = "breadcrumb__item" > {% if item.url %} <a href= "{{ item.url }}" class = "breadcrumb__link" >{{ item.text }}</a> {% else %} {{ item.text }} {% endif %} </li> {% endfor %} </ol> </nav> {% endif %} |