Blogs
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 1m7s

This commit is contained in:
2026-03-19 02:04:06 +01:00
parent 0eb3e223aa
commit edfb14770d
17 changed files with 4098 additions and 29 deletions

View File

@@ -0,0 +1,39 @@
import { defineContentConfig, defineCollection } from '@nuxt/content'
import { z } from 'zod'
export default defineContentConfig({
collections: {
blog_en: defineCollection({
type: 'page',
source: 'blog/en/*.md',
schema: z.object({
title: z.string(),
slug: z.string(),
date: z.string(),
description: z.string()
})
}),
blog_es: defineCollection({
type: 'page',
source: 'blog/en/*.md',
schema: z.object({
title: z.string(),
slug: z.string(),
date: z.string(),
description: z.string()
})
}),
blog_ca: defineCollection({
type: 'page',
source: 'blog/en/*.md',
schema: z.object({
title: z.string(),
slug: z.string(),
date: z.string(),
description: z.string()
})
})
}
})