mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-24 23:15:46 -05:00
add docs for new properties option in lastmod plugin
This commit is contained in:
parent
9e55ce74f8
commit
feb72f75f3
@ -12,6 +12,7 @@ This plugin determines the created, modified, and published dates for a document
|
||||
This plugin accepts the following configuration options:
|
||||
|
||||
- `priority`: The data sources to consult for date information. Highest priority first. Possible values are `"frontmatter"`, `"git"`, and `"filesystem"`. Defaults to `"frontmatter", "git", "filesystem"]`.
|
||||
- `properties`: An object specifying the frontmatter property names for `created`, `updated`, and `published` dates. Defaults to `{created: ["date"], updated: ["lastmod", "updated", "last-modified"], published: ["publishDate"],}`
|
||||
|
||||
> [!warning]
|
||||
> If you rely on `git` for dates, make sure `defaultDateType` is set to `modified` in `quartz.config.ts`.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user