diff options
author | 2023-01-23 15:04:56 -0500 | |
---|---|---|
committer | 2023-01-23 15:04:56 -0500 | |
commit | 304823811eddd8e72aa1d8e2d39b40ab5cda3565 (patch) | |
tree | b032bc35e626af819b0f7729e54ec37b51a664f3 /examples/framework-svelte/svelte.config.js | |
parent | f62ec162c2a18c977386bc87e2eba7a0dcef3e1e (diff) | |
download | astro-304823811eddd8e72aa1d8e2d39b40ab5cda3565.tar.gz astro-304823811eddd8e72aa1d8e2d39b40ab5cda3565.tar.zst astro-304823811eddd8e72aa1d8e2d39b40ab5cda3565.zip |
[Content Collections] Add `slug` frontmatter field (#5941)
* feat: respect `slug` frontmatter prop
* chore: replace `slug` check with proper types
* fix: regen types on `slug` change
* chore: add TODO on slug gen
* tests: update to use `slug` frontmatter prop
* chore: add error message on `slug` inside object schema
* lint
* chore: add note on frontmatter parse
* refactor: move content errors to new heading
* chore: ContentSchemaContainsSlugError
* chore: changeset
* docs: be 10% less gentle
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* fix: avoid parsing slug on unlink
* docs: clarify old API is for beta users
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Diffstat (limited to 'examples/framework-svelte/svelte.config.js')
0 files changed, 0 insertions, 0 deletions