add: extract plain faq

Add Schema Org for FAQ
This commit is contained in:
webfussel 2025-06-11 08:54:32 +02:00
parent bb77bb6a5b
commit a86b89dc98
5 changed files with 40 additions and 12 deletions

View file

@ -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(),
})
})
}