From feb72f75f38f3b224cc1d16aeb8af53b6e9f5ce8 Mon Sep 17 00:00:00 2001 From: Sparticuz Date: Tue, 11 Jun 2024 13:04:36 -0400 Subject: [PATCH] add docs for new properties option in lastmod plugin --- docs/plugins/CreatedModifiedDate.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/plugins/CreatedModifiedDate.md b/docs/plugins/CreatedModifiedDate.md index 5d772aaa0..6a1748366 100644 --- a/docs/plugins/CreatedModifiedDate.md +++ b/docs/plugins/CreatedModifiedDate.md @@ -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`.