Skip to content

Commit 511f963

Browse files
committed
update
1 parent 276654a commit 511f963

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

schemaTypes/blogs.ts

+8-7
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ export const blogs = defineType({
1111
}),
1212
defineField({
1313
name: 'Content',
14-
type: 'array',
15-
of: [{ type: 'block' }],
14+
type: 'string',
1615
}),
1716
defineField({
1817
name: 'Blog_Image',
@@ -24,9 +23,11 @@ export const blogs = defineType({
2423
}),
2524
defineField({
2625
name: 'Tags',
27-
type: 'array',
28-
of: [{ type: 'string' }],
29-
}),
30-
26+
type: 'string',
27+
}),
28+
defineField({
29+
name: 'Url',
30+
type: 'url',
31+
}),
3132
],
32-
})
33+
})

0 commit comments

Comments
 (0)