summaryrefslogtreecommitdiff
path: root/examples/blog
diff options
context:
space:
mode:
Diffstat (limited to 'examples/blog')
-rw-r--r--examples/blog/src/content/config.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/blog/src/content/config.ts b/examples/blog/src/content/config.ts
index f0419223e..667a31cc7 100644
--- a/examples/blog/src/content/config.ts
+++ b/examples/blog/src/content/config.ts
@@ -1,6 +1,7 @@
import { defineCollection, z } from 'astro:content';
const blog = defineCollection({
+ type: 'content',
// Type-check frontmatter using a schema
schema: z.object({
title: z.string(),