zurb_foundation-8.x-6.0-alpha5/templates/breadcrumb.html.twig
templates/breadcrumb.html.twig
{#
/**
* @file
* Theme override for a breadcrumb trail.
*
* Available variables:
* - breadcrumb: Breadcrumb trail items.
* - title: The current page title.
*/
#}
{% if breadcrumb %}
<nav role="navigation" aria-labelledby="system-breadcrumb">
<h2 id="system-breadcrumb" class="visually-hidden">{{ 'You are here'|t }}</h2>
<ul class="breadcrumbs">
{% for item in breadcrumb %}
<li>
{% if item.url %}
<a href="{{ item.url }}">{{ item.text }}</a>
{% else %}
{{ item.text }}
{% endif %}
</li>
{% endfor %}
<li class="current"><a href="#">{{ title }}</a></li>
</ul>
</nav>
{% endif %}
