No description
Find a file
2026-02-17 17:43:51 +01:00
.github/workflows Initial commit 2026-02-13 18:36:01 +01:00
src fix: add allFiles-based fallback when ctx.trie is unavailable 2026-02-13 20:10:02 +01:00
.eslintrc.json Initial commit 2026-02-13 18:36:01 +01:00
.gitignore Initial commit 2026-02-13 18:36:01 +01:00
.prettierrc Initial commit 2026-02-13 18:36:01 +01:00
CHANGELOG.md Initial commit 2026-02-13 18:36:01 +01:00
LICENSE Initial commit 2026-02-13 18:36:01 +01:00
package-lock.json chore: update @quartz-community/types to v0.2.1 2026-02-13 22:58:46 +01:00
package.json chore: add quartz plugin manifest to package.json 2026-02-17 17:43:51 +01:00
README.md docs: add plugin README 2026-02-14 02:13:33 +01:00
tsconfig.json Initial commit 2026-02-13 18:36:01 +01:00
tsup.config.ts Initial commit 2026-02-13 18:36:01 +01:00
vitest.config.ts Initial commit 2026-02-13 18:36:01 +01:00

@quartz-community/folder-page

Renders folder index pages showing a listing of all pages within that folder. Automatically generates virtual index pages for folders that don't have one.

Installation

npx quartz plugin add github:quartz-community/folder-page

Usage

// quartz.config.ts
import * as ExternalPlugin from "./.quartz/plugins";

const config: QuartzConfig = {
  plugins: {
    pageTypes: [ExternalPlugin.FolderPage()],
  },
};
// quartz.layout.ts
export const layout = {
  byPageType: {
    folder: {
      beforeBody: [...],
      left: [...],
      right: [...],
    },
  },
}

Configuration

Option Type Default Description
showFolderCount boolean undefined Whether to show the number of items in the folder.
showSubfolders boolean undefined Whether to show subfolders in the listing.
sort SortFn undefined A function to sort the pages in the folder.

Documentation

See the Quartz documentation for more information.

License

MIT