mirror of
https://github.com/quartz-community/backlinks.git
synced 2026-07-22 02:50:27 +00:00
No description
| .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
// quartz.layout.ts
import * as Plugin from "./.quartz/plugins";
// Add to your layout
Plugin.Backlinks(); // in the appropriate layout section
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