import type { BlogPost } from 'brainerce'; import { buildArticleJsonLd, buildBreadcrumbJsonLd } from 'brainerce'; import { getNonce } from '@/core/lib/nonce'; import { getCanonicalSiteUrl } from '@/core/lib/site-url'; interface ArticleJsonLdProps { post: BlogPost; url: string; /** Store display name — feeds Article.publisher (and the author fallback). */ organizationName?: string; } /** * Article + BreadcrumbList structured data for a blog post page. * * Uses the SDK builders for the schema shape, but renders the