Have you 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
unlisted front 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
Have you read the Contributing Guidelines on issues?
Description
Even if a page is marked
unlistedwith front matter, she can be accessible (build site) from auto generated category index.In the demo,
create-a-blog-post.mdis marked withunlistedfront matter.Reproducible demo
https://stackblitz.com/edit/github-qvcv3j?terminal=build,serve
Steps to reproduce
unlistedfront matterExpected behavior
Page should not be accessible from auto generated category index.
Actual behavior
The page marked
unlistedis accessible.Your environment
Self-service