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

Exclude links in HTML for pages with no url #51

Open
justinfagnani opened this issue Jan 13, 2023 · 0 comments
Open

Exclude links in HTML for pages with no url #51

justinfagnani opened this issue Jan 13, 2023 · 0 comments

Comments

@justinfagnani
Copy link

It's possible to put permalink: false on a page to exclude it from the output, but keep some eleventyNavigation data on it to create parent items in the navigation tree. The HTML output currently creates a link for these entries with an empty href, so they link to the current page. It'd be nice to just exclude the link if url is false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant