exclude Pages item from partial:nav #6313
-
Hello, The whole navigation is shown as
and the page I want to exclude is called Cookies. I tried everything I could think of - creating a navigation that has links to the pages and then tried to do Anyone got a hint? EDIT: I must conserve EDIT2:
and the page itself is generated by a JS file. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hey @MarvelousMartin, Filtering like Could you please share the template and nav files. That would help a lot! But what about using a simple condition to do the filtering? {{ nav }}
{{if include }}
<a href="{{ url }}>{{ title }}</a>
{{/if}}
{{ /nav }} And have a look at how to pass data into partials in the docs. |
Beta Was this translation helpful? Give feedback.
-
The problem was in cookies.md, there I could just type something like
Thanks anyway @joshuablum for a little boost. |
Beta Was this translation helpful? Give feedback.
The problem was in cookies.md, there I could just type something like
hide_in_nav: true
and the doThanks anyway @joshuablum for a little boost.