تخطَّ إلى المحتوى
This is an unmaintained snapshot of the Astro v4 docs. View the latest docs.

Content Schema should not contain slug.

هذا المحتوى غير متوفر بلغتك بعد.

ContentSchemaContainsSlugError: A content collection schema should not contain slug since it is reserved for slug generation. Remove this from your COLLECTION_NAME collection schema.

A content collection schema should not contain the slug field. This is reserved by Astro for generating entry slugs. Remove slug from your schema. You can still use custom slugs in your frontmatter.

See Also:

ساهم

بماذا تفكّر؟

المجتمع