fixed format

This commit is contained in:
松浦 知也 Matsuura Tomoya 2024-01-29 15:59:22 +09:00
parent 283664aab0
commit 63f8ae6619
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ const config: QuartzConfig = {
Plugin.FrontMatter(),
Plugin.TableOfContents(),
Plugin.CreatedModifiedDate({
priority: ["filesystem", "git"], // you can add 'git' here for last modified from Git but this makes the build slower
priority: ["frontmatter", "git","filesystem"], // you can add 'git' here for last modified from Git but this makes the build slower
}),
Plugin.Latex({ renderEngine: "katex" }),
Plugin.SyntaxHighlighting(),

View File

@ -11,7 +11,7 @@ export default (() => {
if (fileData.dates) {
// segments.push(formatDate(getDate(cfg, fileData)!))
segments.push('created: ' + formatDate(fileData.dates?.["created"]))
// segments.push('created: ' + formatDate(fileData.dates?.["created"]))
segments.push('last updated: ' + formatDate(fileData.dates?.["modified"]))
}