Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to exclude page from navigation but keep it in the sitemap? #360

Closed
hickford opened this issue Dec 4, 2024 · 1 comment · Fixed by #361
Closed

How to exclude page from navigation but keep it in the sitemap? #360

hickford opened this issue Dec 4, 2024 · 1 comment · Fixed by #361
Labels
question Further information is requested

Comments

@hickford
Copy link

hickford commented Dec 4, 2024

Hi. Is it possible to exclude a page from navigation but keep it in the sitemap?

I tried eleventyExcludeFromCollections: true but this excludes the page from both navigation and sitemap.

@paulrobertlloyd
Copy link
Collaborator

It’s not currently possible to override the collections that the plugin provides to power the navigation items and the sitemap; #361 will make it so that you can provide these collections in your own configuration, and override those provided by the plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
2 participants