mirror of
https://github.com/quartz-community/backlinks.git
synced 2026-07-22 02:50:27 +00:00
Respect the file.data.unlisted convention. Pages marked unlisted are no longer shown as backlink sources on other pages. The backlinks list on an unlisted page itself is still rendered normally -- users who reached the page by direct URL should still see its incoming references. Extracts the filter predicate into a named selectBacklinkSources() helper and exports it alongside a BacklinkCandidate type so consumers and tests can exercise the filter logic directly. Adds 3 unit tests covering unlisted exclusion, explicit unlisted: false passthrough, and basic source selection. |
||
|---|---|---|
| .. | ||
| backlinks.test.ts | ||