export type JsonLdKind = "article" | "homepage"; export interface JsonLdOptions { kind: JsonLdKind; /** Page slug ("" for homepage). Used to build the absolute URL with config.url. */ canonicalPath: string; title?: string; description?: string; date?: string; /** Optional last-modified date; defaults to date when present. */ updated?: string; image?: string; } /** * Returns a code snippet that: * - declares a `jsonLd` object at runtime using the site's config, * - and renders a single `