add: basic blog layout
Basic Blog Layout to work on
This commit is contained in:
parent
9d691974ce
commit
91b59e4ebe
15 changed files with 278 additions and 3 deletions
|
@ -4,7 +4,13 @@ export default defineContentConfig({
|
|||
collections: {
|
||||
blog: defineCollection({
|
||||
type: 'page',
|
||||
source: 'blog/**/*.md'
|
||||
source: 'blog/*.md',
|
||||
schema: z.object({
|
||||
excerpt: z.object({
|
||||
type: z.string(),
|
||||
children: z.any(),
|
||||
}),
|
||||
}),
|
||||
}),
|
||||
|
||||
skills: defineCollection({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue