Added images
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { fields } from '@keystatic/core'
|
||||
|
||||
import { assets } from '@/lib/content/assets'
|
||||
import { generalBlocks } from '@/keystatic/blocks/general'
|
||||
import { assets } from '@/lib/images/storage'
|
||||
|
||||
export const content = (collection: string) =>
|
||||
fields.markdoc({
|
||||
@@ -9,4 +10,5 @@ export const content = (collection: string) =>
|
||||
heading: [2, 3, 4],
|
||||
image: assets(collection),
|
||||
},
|
||||
components: generalBlocks(collection),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user