Commit graph

10 commits

Author SHA1 Message Date
saberzero1
f512d86728
chore(deps): update @quartz-community/utils 2026-06-03 15:32:02 +02:00
saberzero1
be42781fb0
chore: regenerate package-lock.json 2026-05-24 17:33:06 +02:00
saberzero1
d1207455b0
chore: remove vestigial @jackyzha0/quartz peerDependency 2026-05-24 16:24:45 +02:00
saberzero1
e661df32b6
build: bundle dependencies and ship pre-built dist 2026-04-27 21:38:37 +02:00
saberzero1
d40472b62f
deps: update @quartz-community/utils 2026-04-22 18:20:22 +02:00
saberzero1
1a64b5e9de
deps: update @quartz-community/utils 2026-04-17 02:42:29 +02:00
saberzero1
978030c4bb
deps: update @quartz-community/utils 2026-04-16 22:11:37 +02:00
saberzero1
44a999583e
deps: update @quartz-community/types and @quartz-community/utils 2026-04-16 13:32:03 +02:00
saberzero1
33351a77aa
feat: initial UnlistedPages transformer
Zero-config rehype plugin that copies file.data.frontmatter.unlisted onto
file.data.unlisted when the value is a boolean. Enables the unlisted
convention respected by content-index, search, backlinks, recent-notes,
folder-page, and tag-page to work for any page, not only encrypted ones.

Before this plugin, file.data.unlisted was only set by
@quartz-community/encrypted-pages, inside the encryption branch of its
transformer. Pages that had unlisted: true in frontmatter but no password
were silently listed everywhere -- the frontmatter field was dead weight.
This plugin fixes that with a four-line rehype pass.

Composes cleanly with encrypted-pages. If both are installed, the two
plugins write the same value to file.data.unlisted; if only one is
installed, the other's behavior is unaffected.

Strips the template scaffolding (filter/emitter/component/i18n/util/build)
since this is a single zero-config transformer. Manifest declares
category: "transformer", defaultOrder: 45 (runs before encrypted-pages at
900, independent of crawl-links at 60), defaultEnabled: true, no options.

10 unit tests covering boolean true, boolean false, missing frontmatter,
missing unlisted field, non-boolean values (string, number, null),
preservation of other file.data fields, transformer name, and zero-arg
instantiation.
2026-04-11 14:37:53 +02:00
Emile Bangma
876b50f69e
Initial commit 2026-04-11 14:30:54 +02:00