recent-notes/CHANGELOG.md
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

1.1 KiB

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.unlisted convention. Pages marked unlisted are never shown in the recent notes list. The unlisted filter runs before any user-supplied opts.filter.

  • Exported filterListedPages helper for reuse and testing.

  • Unit tests for filterListedPages.

  • New hideTagPages option (default false) that excludes tag index pages (slugs under the tags/ prefix) from the recent notes list. The filter runs before any user-supplied opts.filter.

  • New hideFolderPages option (default false) that excludes folder index pages (slugs matching Quartz's folder-path convention) from the recent notes list. The filter runs before any user-supplied opts.filter.

  • Exported isTagPageSlug and isFolderPageSlug helpers for reuse and testing, plus unit tests for both.

  • Initial Quartz community plugin template.