We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a2d618 commit 823df33Copy full SHA for 823df33
web/themes/custom/fds_redwhite_theme/templates/custom/breadcrumb.html.twig
@@ -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