Skip to content

Commit 823df33

Browse files
committed
Added breadcrumb template for red white theme
1 parent 1a2d618 commit 823df33

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{#
2+
/**
3+
* @file
4+
* Theme override for a breadcrumb trail.
5+
*
6+
* Available variables:
7+
* - breadcrumb: Breadcrumb trail items.
8+
*/
9+
#}
10+
{% if breadcrumb %}
11+
<nav role="navigation" aria-labelledby="system-breadcrumb">
12+
<h2 id="system-breadcrumb" class="visually-hidden">{{ 'Breadcrumb'|t }}</h2>
13+
14+
<ol class="breadcrumb">
15+
{% for item in breadcrumb %}
16+
<li>
17+
{% if item.url %}
18+
<a href="{{ item.url }}">{{ item.text }}</a>
19+
{% else %}
20+
{{ item.text }}
21+
{% endif %}
22+
</li> {% endfor %}
23+
</ol>
24+
</nav>
25+
{% endif %}

0 commit comments

Comments
 (0)