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 91f9ae2d71
commit 5dcb7e83fc

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 }),