-
Hi guys, I want to exclude a page from my navigation but keep it inside my collections.all. In the front-matter how could I target this one page and filter it out? I've tried looking on the docs but I'm struggling to work it out. This is how I am outputting my nav currently:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
It should be the case that any data you add to the
|
Beta Was this translation helpful? Give feedback.
-
Thank you, worked a treat. I missed this in the docs. |
Beta Was this translation helpful? Give feedback.
-
I'm not seeing this in the docs and it doesn't work for me, ho hum :/ |
Beta Was this translation helpful? Give feedback.
It should be the case that any data you add to the
eleventyNavigation
property in your frontmatter is available on the objects returned byeleventyNavigation
. It looks like you’re trying to use ahide
property, so you should be able to do