component:

  • purpose: generate recent-note lists via filter + sort criteria
  • default_layout: absent from layout
  • setup: install plugin; configure quartz.config.yaml

Note

Plugin add/remove/configure: Configuration.

Customization

config:

  • file: quartz.config.yaml
  • location: plugin entry options

options:

  • title: "Recent writing":
    • changes title from "Recent notes"
  • limit: 5:
    • changes displayed note count
  • showTags: false:
    • hides note tags
    • default: true
  • hideTagPages: true:
    • hides generated tag pages
    • default: false
    • filter: slugs under tags/
  • hideFolderPages: true:
    • hides generated folder index pages
    • default: false
    • filter: slugs matching Quartz folder-path convention: trailing slash or index suffix
  • linkToMore: "tags/components":
    • adds see more link
    • value: full slug of an existing page

ts_overrides:

  • filter:
    • file: quartz.ts
    • constructor_arg: filter: someFilterFunction
    • signature: (f: QuartzPluginData) => boolean
  • sort:
    • file: quartz.ts
    • constructor_arg: sort: someSortFunction
    • default: date sort; lexicographic tie-break
    • signature: (f1: QuartzPluginData, f2: QuartzPluginData) => number

install:

  • npx quartz plugin add github:quartz-community/recent-notes

source: