This commit is contained in:
2026-03-31 16:38:22 -07:00
commit 38940436a7
2112 changed files with 376929 additions and 0 deletions

View File

@ -0,0 +1,9 @@
const EleventyNavigationPlugin = require("../");
module.exports = function(eleventyConfig) {
eleventyConfig.addPlugin(EleventyNavigationPlugin);
return {
pathPrefix: "/sdljfkaldsjlfka/"
}
};

View File

@ -0,0 +1,5 @@
---
eleventyNavigation:
key: Bats
parent: Mammals
---

View File

@ -0,0 +1,5 @@
---
eleventyNavigation:
key: Humans
parent: Mammals
---

View File

@ -0,0 +1,19 @@
<h2>Full List</h2>
{{ collections.all | eleventyNavigation | dump(2) }}
{{ collections.all | eleventyNavigation | eleventyNavigationToHtml }}
<h2>Breadcrumb for Bats</h2>
{{
collections.all
| eleventyNavigationBreadcrumb: "Bats"
| dump(2)
}}
{{
collections.all
| eleventyNavigationBreadcrumb: "Bats"
| eleventyNavigationToHtml
}}

View File

@ -0,0 +1,4 @@
---
eleventyNavigation:
key: Mammals
---

View File

@ -0,0 +1,4 @@
---
eleventyNavigation:
---
This page has no key.

View File

@ -0,0 +1,3 @@
---
---
This page has no navigation.

View File

@ -0,0 +1,11 @@
<h2>Full List</h2>
{{ collections.all | eleventyNavigation | dump(2) | safe }}
{{ collections.all | eleventyNavigation | eleventyNavigationToHtml | safe }}
<h2>Breadcrumb for Bats</h2>
{{ collections.all | eleventyNavigationBreadcrumb("Bats") | dump(2) | safe }}
{{ collections.all | eleventyNavigationBreadcrumb("Bats") | eleventyNavigationToHtml | safe }}