From 43b61590178895e325ab772e5582f51dbcbcd9bf Mon Sep 17 00:00:00 2001 From: bholmesdev Date: Mon, 23 Jan 2023 14:43:30 -0500 Subject: [PATCH] docs: clarify old API is for beta users --- .changeset/large-steaks-film.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.changeset/large-steaks-film.md b/.changeset/large-steaks-film.md index 83b471984895..a919c411eb2a 100644 --- a/.changeset/large-steaks-film.md +++ b/.changeset/large-steaks-film.md @@ -2,9 +2,9 @@ 'astro': major --- -Replace the content collection `slug()` config with a new `slug` frontmatter field. +Content collections: Introduce a new `slug` frontmatter field for overriding the generated slug. This replaces the previous `slug()` collection config option from Astro 1.X and the 2.0 beta. -This introduces a reserved `slug` property you can add to any Markdown or MDX collection entry. When present, this will override the generated slug for that entry. +When present in a Markdown or MDX file, this will override the generated slug for that entry. ```diff # src/content/blog/post-1.md