tag-page/test
saberzero1 21bd3be046
feat: exclude unlisted pages from tag discovery and listings
Respect the file.data.unlisted convention in both the tag discovery loop
(virtual tag page generation in pageType.generate) and the tag listing
itself (allPagesWithTag and the root-index tag set builder in TagContent).

Unlisted pages no longer contribute tags, and no longer appear in any
tag listing. A tag that exists only on unlisted pages will not cause a
virtual tag page to be generated at all.

Adds 4 unit tests for pageType.generate covering tag discovery from
listed pages, unlisted exclusion, shared tags across listed and unlisted
pages, and tag-only-on-unlisted-pages suppression.
2026-04-11 13:51:04 +02:00
..
pageType.test.ts feat: exclude unlisted pages from tag discovery and listings 2026-04-11 13:51:04 +02:00