Skip to content

How can I exclude a page from my navigation while keeping in my collection? #2810

Answered by darthmall
vdecree asked this question in Q&A
Discussion options

You must be logged in to vote

It should be the case that any data you add to the eleventyNavigation property in your frontmatter is available on the objects returned by eleventyNavigation. It looks like you’re trying to use a hide property, so you should be able to do

---
eleventyNavigation:
  hide: true
---

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by vdecree
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@darthmall
Comment options

@galund
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants