agent: Set unique titles and meta descriptions per page
This commit is contained in:
@@ -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 50–60 / 150–160 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(),
|
||||
|
||||
Reference in New Issue
Block a user