Sub menu items with the same name are not unique
LarsDenBakker opened this issue · comments
Lars den Bakker commented
Lars den Bakker commented
Thomas Allmer commented
Indeed keys need to be unique... as they are used throughout the code to create the "tree"
you can, however, use a best practice to have "unique keys" by doing Parent > Child
.
If you do so you probably want to separately provide a title
which will be displayed in the menu instead of the key.
test-runner/index.md
---
title: Test Runner
eleventyNavigation:
key: Test Runner
---
test-runner/overview.md
---
title: Web Test Runner Overview
eleventyNavigation:
key: Test Runner > Overview
title: Overview
parent: Test Runner
---
I will leave this open as we should definitely document this
Thomas Allmer commented
closed by #51