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.
772 B
772 B
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
[Unreleased]
Added
-
Respect the
file.data.unlistedconvention. Pages markedunlistedare never shown as backlink sources on other pages. The backlinks list on an unlisted page itself is still rendered normally so users who reached the page by direct URL can see its incoming references. -
Exported
selectBacklinkSourceshelper andBacklinkCandidatetype for testing and reuse. -
Unit tests for
selectBacklinkSourcescovering the unlisted-filter behavior. -
Initial Quartz community plugin template.