add: extract plain faq
Add Schema Org for FAQ
This commit is contained in:
parent
bb77bb6a5b
commit
a86b89dc98
5 changed files with 40 additions and 12 deletions
|
@ -10,21 +10,13 @@ export default defineContentConfig({
|
|||
skills: defineCollection({
|
||||
type: 'page',
|
||||
source: 'snippets/skills/*.md',
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
img: z.object({
|
||||
path: z.string(),
|
||||
name: z.string(),
|
||||
position: z.string(),
|
||||
}),
|
||||
})
|
||||
}),
|
||||
|
||||
faq: defineCollection({
|
||||
type: 'page',
|
||||
source: 'snippets/faq/*.md',
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
rawbody: z.string(),
|
||||
})
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue