metatron-open-seo/web/source.config.ts
Ben Senescu 622a86e3dc website: terms + privacy policy (#56)
* feat: add markdown-backed legal pages

Move privacy into the Fumadocs content pipeline and add a terms page so legal copy can be managed as markdown alongside other generated pages.

* save terms draft

* clean up notes

* Add privacy policy

* Update policies

* save

* simplify legal page routes
2026-04-08 14:09:01 -04:00

26 lines
478 B
TypeScript

import {
defineConfig,
defineCollections,
frontmatterSchema,
} from "fumadocs-mdx/config/zod-3";
import { z } from "zod";
const pageSchema = frontmatterSchema as any;
export const blog = defineCollections({
type: "doc",
dir: "content/blog",
schema: pageSchema.extend({
author: z.string(),
date: z.string(),
}),
});
export const legal = defineCollections({
type: "doc",
dir: "content/legal",
schema: pageSchema,
});
export default defineConfig();