fix: use git dates by default, @napi/git is fast enough

This commit is contained in:
Jacky Zhao 2023-09-15 09:46:06 -07:00
parent 515ac8d9a1
commit 9bfdc24161

View File

@ -47,7 +47,7 @@ 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
priority: ["frontmatter", "git", "filesystem"],
}),
Plugin.SyntaxHighlighting(),
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }),