0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

Add @message to DuplicateContentEntrySlugError (#7369)

This commit is contained in:
Chris Swithinbank 2023-06-12 11:48:53 +02:00 committed by GitHub
parent 42baf62e7c
commit 0325bf7e0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1114,6 +1114,7 @@ See https://docs.astro.build/en/guides/server-side-rendering/ for more informati
},
/**
* @docs
* @message `COLLECTION_NAME` contains multiple entries with the same slug: `SLUG`. Slugs must be unique.
* @description
* Content collection entries must have unique slugs. Duplicates are often caused by the `slug` frontmatter property.
*/