Content Layer based collections do not exclude pages starting with underscore (_
)
#12730
Closed
1 task
Labels
needs triage
Issue needs to be triaged
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
According to the docs, pages that start with an underscore should be automatically excluded from a site. However, when using v5 Content Layer API to define a collection, pages that start with an underscore are not excluded.
This issue does not happen with v4 nor does it happen when using v5 legacy content collections.
Steps to reproduce
Actual Result
What's the expected result?
Pages that start with an underscore should be automatically excluded from the site.
Astro v4
Repro
Astro v5 Legacy Collections
Repro
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-pdzrjo-jqkoqpvj
Participation
The text was updated successfully, but these errors were encountered: