agent: Set unique titles and meta descriptions per page

This commit is contained in:
platform-mcp
2026-06-19 08:57:40 +05:30
parent 23acac5c4d
commit e697750e22
21 changed files with 60 additions and 28 deletions
+7
View File
@@ -5,6 +5,13 @@ const blog = defineCollection({
schema: z.object({
title: z.string(),
description: z.string(),
// Optional SEO overrides. When set they drive the <title> tag and
// <meta name="description"> without changing the on-page article
// heading/excerpt, letting us keep descriptive H1s while tuning the
// search snippet to the 5060 / 150160 character sweet spots.
// `seoTitle` is the text BEFORE the " | WorkRoot" brand suffix.
seoTitle: z.string().optional(),
seoDescription: z.string().optional(),
pubDate: z.coerce.date(),
updatedDate: z.coerce.date().optional(),
heroImage: z.string().optional(),