From 63f8ae6619fa760a41e0739e16f2c3a9ffb2b26c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=BE=E6=B5=A6=20=E7=9F=A5=E4=B9=9F=20Matsuura=20Tomoy?= =?UTF-8?q?a?= Date: Mon, 29 Jan 2024 15:59:22 +0900 Subject: [PATCH] fixed format --- quartz.config.ts | 2 +- quartz/components/ContentMeta.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/quartz.config.ts b/quartz.config.ts index 44e61353..c8e9f32b 100644 --- a/quartz.config.ts +++ b/quartz.config.ts @@ -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(), diff --git a/quartz/components/ContentMeta.tsx b/quartz/components/ContentMeta.tsx index 72d75600..5716ba8e 100644 --- a/quartz/components/ContentMeta.tsx +++ b/quartz/components/ContentMeta.tsx @@ -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"])) }