Function: buildBreadcrumbItems() ​

Source: 1.5.1 · aee63561e2e1

ts
function buildBreadcrumbItems(input): 
  | BreadcrumbItem[]
  | undefined;

Defined in: packages/valaxy/shared/seo.ts:99

Home, existing parent routes, then the current page. Pagination and the site root are omitted: they are not extra documents.

Parameters ​

input ​

pageTitle ​

string

path ​

string

resolveAncestor? ​

(path) => | BreadcrumbAncestor | undefined

siteTitle ​

string

siteUrl ​

string

Returns ​

| BreadcrumbItem[] | undefined