schema
defineBreadcrumb(input?: Breadcrumb)
Breadcrumb
on a WebPage
.SchemaOrgBreadcrumb
(see how components work)ListItem
objects, representing the position of the current page in the site hierarchy.defineBreadcrumb({
itemListElement: [
{ name: 'Home', item: '/' },
{ name: 'Blog', item: '/blog' },
{ name: 'My Article' },
],
})
BreadcrumbList
${canonicalUrl}#breadcrumb
breadcrumb
to this nodeitemListElement.position
is computed for each list element/**
* A BreadcrumbList is an ItemList consisting of a chain of linked Web pages,
* typically described using at least their URL and their name, and typically ending with the current page.
*/
export interface BreadcrumbSimple extends ItemList {}