eleventy-navigation icon indicating copy to clipboard operation
eleventy-navigation copied to clipboard

A plugin for creating hierarchical navigation in Eleventy projects. Supports breadcrumbs too!

Results 27 eleventy-navigation issues
Sort by recently updated
recently updated
newest added

allow better sorting. pages that have an order command are now always first, not last. this will fix #1

Fixes #14 It adds a `useAriaCurrentAttr` option so that an anchor matching the `activeKey` will have an `aria-current="page"` attribute (see [more details here](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current)). **Example Nunjucks navigation rendering:** ```nunjucks {{ collections.all...

Code: https://github.com/11ty/eleventy-navigation/blob/e5c99c1f35d8af6bfa34c9918c2532ed920c7326/eleventy-navigation.js#L18 Related: https://github.com/11ty/eleventy-navigation/pull/32 #1 https://twitter.com/SaraSoueidan/status/1479100282088820739

enhancement

Define all items in global data file. Like so: __data/navigation.yaml_ ``` items: - key: home title: Home url: / children: - key: Second title: Second url: / children: - key:...

I have some keys, and I would love to have the possibility to reuse them like: ```yaml --- title: "Projekte" translationKey: "page-projects" eleventyNavigation: key: "{{ translationKey }}" title: "{{ title...

```yaml #/index.njk --- layout: false permalink: /index.html title: "Layout" locale: en dir: ltr eleventyNavigation: key: en title: Start Page --- ``` ```yaml #/test2.njk --- layout: false permalink: /test2.html title: "Layout"...

I propose the `eleventyNavigation` use the title attribute to also create the HTML `title` attribute. It's not perfect. Som screen readers will override with `aria-label` if present. https://developers.google.com/web/fundamentals/accessibility/semantics-aria/aria-labels-and-relationships. *IF* the...

This plugin has not yet been upgraded to support Eleventy 2.0..0-canary

Hi, Default order value = 0, means not-ordered items are going to be before the ordered ones.... Shouldn't it be the opposite?