Skip to content

Commit 17526e8

Browse files
author
hjonin
committed
fix breadcrumb
1 parent d1edc1d commit 17526e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_includes/components/breadcrumb.njk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
{# Mandatory variable `segments: { url: string, title: string }[]` to make it work #}
1+
{# Works with eleventyNavigation or mandatory variable `segments: { url: string, title: string }[]` to make it work #}
22
{% if eleventyNavigation %}
3-
{% set segments = collections.all | eleventyNavigationBreadcrumb(eleventyNavigation.key, { includeSelf: true }) %}
3+
{% set segments = collections.all | eleventyNavigationBreadcrumb(eleventyNavigation.key) %}
44
{% endif %}
55
<nav role="navigation" class="fr-breadcrumb" aria-label="{{ "you_are_here" | i18n }}:">
66
<button class="fr-breadcrumb__button" aria-expanded="false"

0 commit comments

Comments
 (0)