Skip to content

Commit

Permalink
edit: expected property -> expected shape
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmesdev committed Jan 10, 2023
1 parent 9bb46e0 commit decf4aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/en/guides/content-collections.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ To configure schemas, create a `src/content/config.ts` file (`.js` and `.mjs` ex

For example, say you maintain two collections: one for release announcements and one for blog content. Your entries at `src/content/releases/` should include a `title` and `version`. Your `src/content/engineering-blog/` collection entries should have a `title`, list of `tags`, and an optional `image` URL.

You can specify each expected property in the `schema` field of `defineCollection`:
You can specify the expected shape of your frontmatter with the `schema` field of `defineCollection`:

```ts
// src/content/config.ts
Expand Down

0 comments on commit decf4aa

Please sign in to comment.