You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Select and copy the contents of about/index.md to books/index.md, changing key to Books and order to 4. Optionally, change the markdown content. I'm using VSCode on macOS.
layout: layouts/base.njk
eleventyNavigation:
key: "Books"
order: 4
---
# Books
I am a person that reads stuff.
npm start and visit the site at localhost:8080; notice Books doesn't show up in the menu.
Change the tabs before key and order to spaces and it'll work fine.
The text was updated successfully, but these errors were encountered:
First, thanks for 11ty!
Here's an issue I'm seeing:
.editorconfig
was changed to use tabs instead of spaces, but that seems to causeeleventyNavigation
to fail. (Tabs are forbidden in YAML.)Here's how the issue can be reproduced:
git clone https://github.com/11ty/eleventy-base-blog.git
cd eleventy-base-blog
npm install
books/index.md
parallel toabout/index.md
about/index.md
tobooks/index.md
, changingkey
toBooks
andorder
to4
. Optionally, change the markdown content. I'm using VSCode on macOS.npm start
and visit the site atlocalhost:8080
; noticeBooks
doesn't show up in the menu.Change the tabs before
key
andorder
to spaces and it'll work fine.The text was updated successfully, but these errors were encountered: