From 1a8aedf5f5401d365faf479644723d946c184054 Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Sun, 7 Jan 2024 15:39:29 -0800 Subject: [PATCH] docs: clarify git only sets modified --- quartz.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/quartz.config.ts b/quartz.config.ts index 5c2c411..1f7399a 100644 --- a/quartz.config.ts +++ b/quartz.config.ts @@ -47,7 +47,9 @@ const config: QuartzConfig = { Plugin.FrontMatter(), Plugin.TableOfContents(), Plugin.CreatedModifiedDate({ - priority: ["frontmatter", "filesystem"], // you can add 'git' here for last modified from Git but this makes the build slower + // you can add 'git' here for last modified from Git + // if you do rely on git for dates, ensure defaultDateType is 'modified' + priority: ["frontmatter", "filesystem"], }), Plugin.Latex({ renderEngine: "katex" }), Plugin.SyntaxHighlighting(),