Skip to content
0

katanakit-js / UseSeoMetaBase

Type Alias: UseSeoMetaBase ​

ts
type UseSeoMetaBase = SeoMetaInput & {
  lang?: string;
  nav?: {
     external?: boolean;
     href: string;
     label: string;
  }[];
  rss?: Partial<{
     description?: string;
     enabled: boolean;
     limit: number;
     path: string;
     title?: string;
  }>;
  seo?: Partial<{
     canonical: boolean;
     jsonLd: boolean;
     noindex: boolean;
     openGraph: boolean;
     twitterCard: boolean;
  }>;
  site?: string;
  siteTitle?: string;
};

Defined in: src/config/seo-meta.types.ts:127

Site + HTML + OG fields in one object (before Omit).

Type Declaration ​

lang? ​

ts
optional lang?: string;

Language code (e.g. "en", "es-ES").

ts
optional nav?: {
  external?: boolean;
  href: string;
  label: string;
}[];

Type Declaration ​

rss? ​

ts
optional rss?: Partial<{
  description?: string;
  enabled: boolean;
  limit: number;
  path: string;
  title?: string;
}>;

seo? ​

ts
optional seo?: Partial<{
  canonical: boolean;
  jsonLd: boolean;
  noindex: boolean;
  openGraph: boolean;
  twitterCard: boolean;
}>;

site? ​

ts
optional site?: string;

Site origin / base URL (no trailing slash), e.g. "https://example.com". Not a title — used for canonical, OG, RSS, and JSON-LD defaults.

siteTitle? ​

ts
optional siteTitle?: string;

Site brand / product name (e.g. "KatanaKit"). Distinct from page SeoMetaFlat.title. Used as <title> suffix ("Page | Brand"), og:site_name, and RSS feed name.

Released under the MIT License.