mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-13 16:17:59 +01:00
Added to the documentation which values of frontmatter are referenced.
This commit is contained in:
@@ -13,6 +13,17 @@ 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"]`.
|
- `priority`: The data sources to consult for date information. Highest priority first. Possible values are `"frontmatter"`, `"git"`, and `"filesystem"`. Defaults to `["frontmatter", "git", "filesystem"]`.
|
||||||
|
|
||||||
|
If frontmatter is specified, the following frontmatter values are referenced:
|
||||||
|
|
||||||
|
- created
|
||||||
|
- `date`
|
||||||
|
- modified
|
||||||
|
- `lastmod`
|
||||||
|
- `updated`
|
||||||
|
- `last-modified`
|
||||||
|
- published
|
||||||
|
- `publishDate`
|
||||||
|
|
||||||
> [!warning]
|
> [!warning]
|
||||||
> If you rely on `git` for dates, make sure `defaultDateType` is set to `modified` in `quartz.config.ts`.
|
> If you rely on `git` for dates, make sure `defaultDateType` is set to `modified` in `quartz.config.ts`.
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user