breadcrumbSchema(options: BreadcrumbSchemaOptions): (pages: any[]) => void
Creates a breadcrumb schema preprocessor
This preprocessor:
- Parses the URL path into breadcrumb segments
- Creates Schema.org BreadcrumbList with proper @id and positioning
- Skips pages that already have custom breadcrumb schema
- Skips root pages (/ and language roots like /en/)
- Properly formats segment names (capitalizes, replaces hyphens with spaces)
options: BreadcrumbSchemaOptions
Configuration options