backlinks/test
saberzero1 dbcda79720
feat: exclude unlisted pages from backlink sources
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.
2026-04-11 13:49:59 +02:00
..
backlinks.test.ts feat: exclude unlisted pages from backlink sources 2026-04-11 13:49:59 +02:00