Files
aranroig.com/frontend/content.config.ts
BinarySandia04 c105669065
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 35s
Big update
2026-03-20 23:10:38 +01:00

22 lines
478 B
TypeScript

import { defineContentConfig, defineCollection } from '@nuxt/content'
import { z } from 'zod'
export default defineContentConfig({
collections: {
blog: defineCollection({
type: 'page',
source: 'blog/**/**.md',
schema: z.object({
title: z.string(),
slug: z.string(),
date: z.string(),
description: z.string()
})
}),
fixed: defineCollection({
type: 'page',
source: 'fixed/**/**.md'
}),
}
})