-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its execution
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
Description
Even if a page is marked unlisted with front matter, she can be accessible (build site) from auto generated category index.
In the demo, create-a-blog-post.md is marked with unlisted front matter.
Reproducible demo
https://stackblitz.com/edit/github-qvcv3j?terminal=build,serve
Steps to reproduce
- Mark page that is in subcategory with auto generated category index, with
unlistedfront matter - Build website & test it
- Go to the auto generated category index
- View the result
Expected behavior
Page should not be accessible from auto generated category index.
Actual behavior
The page marked unlisted is accessible.
Your environment
- Docusaurus version used: 0.0.0-5363
- Environment name and version (e.g. Chrome 89, Node.js 16.4): Firefox 106 - NodeJS 18
- Operating system and version (e.g. Ubuntu 20.04.2 LTS): Windows 11 22H2
Self-service
- I'd be willing to fix this bug myself.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its execution