mirror of
https://github.com/quartz-community/created-modified-date.git
synced 2026-07-22 02:50:28 +00:00
No description
| .github/workflows | ||
| dist | ||
| src | ||
| types | ||
| .eslintrc.json | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc | ||
| CHANGELOG.md | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
| tsup.config.ts | ||
| vitest.config.ts | ||
@quartz-community/created-modified-date
Extracts created and modified dates from frontmatter, git history, or filesystem metadata.
Installation
npx quartz plugin add github:quartz-community/created-modified-date
Usage
plugins:
- source: github:quartz-community/created-modified-date
enabled: true
options:
priority:
- frontmatter
- git
- filesystem
For advanced use cases, you can override in TypeScript:
import * as ExternalPlugin from "./.quartz/plugins";
ExternalPlugin.CreatedModifiedDate({
priority: ["frontmatter", "git", "filesystem"],
});
Configuration
| Option | Type | Default | Description |
|---|---|---|---|
priority |
("frontmatter" | "git" | "filesystem")[] |
["frontmatter", "git", "filesystem"] |
The order of sources to check for created and modified dates. |
Documentation
See the Quartz documentation for more information.
License
MIT