Commit graph

3 commits

Author SHA1 Message Date
saberzero1
92538d7346
feat: add hideTagPages and hideFolderPages options
Both default to false so existing behavior is preserved. When enabled,
they exclude generated tag index pages (slugs under the 'tags/' prefix)
and folder index pages (slugs matching Quartz's folder-path convention,
delegated to isFolderPath from @quartz-community/utils) from the recent
notes list. The new filters run before any user-supplied opts.filter,
mirroring the existing unlisted filter.

Exports isTagPageSlug and isFolderPageSlug helpers so they can be
composed into custom filter functions, with unit tests for both.
2026-04-16 19:13:16 +02:00
saberzero1
2e9753c996
feat: exclude unlisted pages from recent notes
Respect the file.data.unlisted convention. Pages marked unlisted are
filtered out of the recent notes list before any user-supplied opts.filter
runs, so they cannot be accidentally surfaced by a permissive custom
filter.

Extracts the filter into a named filterListedPages() helper and exports
it for reuse and testing. Adds 3 unit tests covering unlisted exclusion,
passthrough when nothing is unlisted, and empty-input handling.
2026-04-11 13:50:16 +02:00
saberzero1
77f65dd8da
feat(plugins): recent-notes as community plugin
Implement recent notes component with configurable sorting, date
formatting, and tag filtering. Uses direct imports from
@quartz-community/types instead of ambient declaration files.
2026-02-13 13:19:00 +01:00