propapier/content.config.ts

14 lines
428 B
TypeScript

import { defineCollection, defineContentConfig } from '@nuxt/content'
import { asSitemapCollection } from '@nuxtjs/sitemap/content'
export default defineContentConfig({
collections: {
wissen: defineCollection(
// adds the robots frontmatter key to the collection
asSitemapCollection({
type: 'page',
source: 'wissen/*.md',
}),
),
},
})