-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add content collection custom IDs section #10109
Conversation
❌ Deploy Preview for astro-docs-2 failed. Why did it fail? →Built without sensitive environment variables
|
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
Description (required)
As discussed on Discord, this PR adds back an equivalent of the “Defining custom slugs” section in the current version of the docs for the content collections page in the v5 docs.
The content is based on the current version but updated to match the new changes related to the Content Layer API.
A few notes:
slug
being a special, reserved property name not allowed inschema
is removed, as it is not true anymore.Related issues & labels (optional)