mirror of
https://github.com/quartz-community/backlinks.git
synced 2026-07-22 02:50:27 +00:00
No description
tsup and typescript are only needed at build time — move to devDependencies so they can be pruned after build. Dependencies already available from the host Quartz installation are moved to peerDependencies to avoid duplication. |
||
|---|---|---|
| .github/workflows | ||
| src | ||
| test | ||
| .eslintrc.json | ||
| .gitignore | ||
| .prettierrc | ||
| CHANGELOG.md | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| tsup.config.ts | ||
| vitest.config.ts | ||
@quartz-community/backlinks
Displays a list of pages that link back to the current page.
Installation
npx quartz plugin add github:quartz-community/backlinks
Usage
plugins:
- source: github:quartz-community/backlinks
enabled: true
layout:
position: right
priority: 30
For advanced use cases, you can override in TypeScript:
import * as ExternalPlugin from "./.quartz/plugins";
ExternalPlugin.Backlinks({
hideWhenEmpty: true,
});
Configuration
| Option | Type | Default | Description |
|---|---|---|---|
hideWhenEmpty |
boolean |
true |
Whether to hide the backlinks section when no pages link back to the current page. |
Documentation
See the Quartz documentation for more information.
License
MIT