content-index/test
saberzero1 653d35c9f9
feat: respect file.data.unlisted and skip richContent for encrypted pages
Skip pages marked file.data.unlisted === true in the inclusion gate so
they never appear in contentIndex.json, RSS, or sitemap. Used by
@quartz-community/encrypted-pages to hide encrypted pages from discovery
surfaces while keeping their HTML accessible by direct URL.

Also skip richContent emission when file.data.encrypted === true, even if
rssFullHtml: true. Prevents ciphertext blobs from bloating RSS feeds for
non-unlisted encrypted pages (visible or icon modes).

Adds a test suite (6 tests) covering both new behaviors and verifying
non-unlisted pages still flow through unchanged.
2026-04-11 13:49:16 +02:00
..
emitter.test.ts feat: respect file.data.unlisted and skip richContent for encrypted pages 2026-04-11 13:49:16 +02:00