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 d1edc1d commit 17526e8Copy full SHA for 17526e8
_includes/components/breadcrumb.njk
@@ -1,6 +1,6 @@
1
-{# Mandatory variable `segments: { url: string, title: string }[]` to make it work #}
+{# Works with eleventyNavigation or mandatory variable `segments: { url: string, title: string }[]` to make it work #}
2
{% if eleventyNavigation %}
3
- {% set segments = collections.all | eleventyNavigationBreadcrumb(eleventyNavigation.key, { includeSelf: true }) %}
+ {% set segments = collections.all | eleventyNavigationBreadcrumb(eleventyNavigation.key) %}
4
{% endif %}
5
<nav role="navigation" class="fr-breadcrumb" aria-label="{{ "you_are_here" | i18n }}:">
6
<button class="fr-breadcrumb__button" aria-expanded="false"
0 commit comments