quartz/docs/plugins/Breadcrumbs.md
2026-03-19 22:18:42 +01:00

42 lines
1.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Breadcrumbs
tags:
- plugin/component
image:
---
Navigation breadcrumb trail.
> [!note]
> For information on how to add, remove or configure plugins, see the [[configuration#Plugins|Configuration]] page.
See [[breadcrumbs]] for detailed usage information.
## Configuration
This plugin accepts the following configuration options:
- `spacerSymbol`: The symbol to use between breadcrumb items. Defaults to `""`.
- `rootName`: The name of the root page. Defaults to `Home`.
- `resolveFrontmatterTitle`: Whether to use the `title` frontmatter field for breadcrumb items. Defaults to `true`.
- `showCurrentPage`: Whether to show the current page in the breadcrumb trail. Defaults to `true`.
### Default options
```yaml title="quartz.config.yaml"
- source: github:quartz-community/breadcrumbs
enabled: true
options:
spacerSymbol: ""
rootName: Home
resolveFrontmatterTitle: true
showCurrentPage: true
```
## API
- Category: Component
- Function name: `ExternalPlugin.Breadcrumbs()`.
- Source: [`quartz-community/breadcrumbs`](https://github.com/quartz-community/breadcrumbs)
- Install: `npx quartz plugin add github:quartz-community/breadcrumbs`