From db3d5bc50d33ff1f186d91ca35ceb692be9946c1 Mon Sep 17 00:00:00 2001 From: Jonas Badalic Date: Tue, 1 Sep 2026 11:53:13 -0700 Subject: [PATCH] Drop unused webPageJsonLd breadcrumbs and image options. No caller ever passed them, so the home-breadcrumb and default OG image paths were the only ones in use. Co-authored-by: Cursor --- src/lib/schema.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/lib/schema.ts b/src/lib/schema.ts index a6293599..c97f01fc 100644 --- a/src/lib/schema.ts +++ b/src/lib/schema.ts @@ -378,15 +378,13 @@ export function webPageJsonLd(options: { title: string description: string type?: WebPageType | WebPageType[] - breadcrumbs?: BreadcrumbItem[] - image?: string hasPart?: { name: string; fragment: string }[] mainEntity?: JsonLd potentialAction?: JsonLd }): JsonLd { const url = absoluteUrl(options.path) - const crumbs = options.breadcrumbs ?? pageBreadcrumbs(options.title, options.path) - const image = imageObject(options.image ?? `${websiteUrl}/opengraph-image.png`, options.title) + const crumbs = pageBreadcrumbs(options.title, options.path) + const image = imageObject(`${websiteUrl}/opengraph-image.png`, options.title) return { '@context': 'https://schema.org',