mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-07-22 03:00:29 +00:00
1.5 KiB
1.5 KiB
| title | description | tags | image | repository | enabled | required | |
|---|---|---|---|---|---|---|---|
| FolderPage | Generates listing pages for folders. |
|
[quartz-community/folder-page](https://github.com/quartz-community/folder-page) | true | false |
This plugin is a page type plugin that generates index pages for folders, creating a listing page for each folder that contains multiple content files. It uses the default layout#Page Frames (three-column layout with sidebars). See folder and tag listings for more information.
Example: advanced/
Note
For information on how to add, remove or configure plugins, see the configuration#Plugins page.
This plugin accepts the following configuration options:
showFolderCount: Whether to display the number of pages in the folder. Defaults totrue.showSubfolders: Whether to include pages from subfolders in the listing. Defaults totrue.sort: A function of type(f1: QuartzPluginData, f2: QuartzPluginData) => number{:ts}used to sort entries. Defaults to sorting by date and tie-breaking on lexographical order. Requires a TS override.prefixFolders: Iftrue, generated folder page titles are prefixed with "Folder: " (e.g. "Folder: notes"). Defaults tofalse.
API
- Category: Page Type
- Function name:
ExternalPlugin.FolderPage(). - Source:
quartz-community/folder-page - Install:
npx quartz plugin add github:quartz-community/folder-page