diff --git a/content/blog/Open-Sourcing Tutor-GPT.md b/content/blog/Open-Sourcing Tutor-GPT.md index 75aee9ca3..3a3152224 100644 --- a/content/blog/Open-Sourcing Tutor-GPT.md +++ b/content/blog/Open-Sourcing Tutor-GPT.md @@ -1,5 +1,6 @@ --- title: "Open-Sourcing Tutor-GPT" +date: "Jun 2, 2023" --- ![[assets/human_machine_learning.jpeg]] diff --git a/content/blog/Theory-of-Mind Is All You Need.md b/content/blog/Theory-of-Mind Is All You Need.md index 9a77f9cac..199590692 100644 --- a/content/blog/Theory-of-Mind Is All You Need.md +++ b/content/blog/Theory-of-Mind Is All You Need.md @@ -1,5 +1,6 @@ --- title: "Theory-of-Mind Is All You Need" +date: "Jun 12, 2023" --- ## TL;DR diff --git a/quartz/components/ContentMeta.tsx b/quartz/components/ContentMeta.tsx index 21dc13f95..f0241d02e 100644 --- a/quartz/components/ContentMeta.tsx +++ b/quartz/components/ContentMeta.tsx @@ -3,18 +3,21 @@ import { QuartzComponentConstructor, QuartzComponentProps } from "./types" import readingTime from "reading-time" export default (() => { - function ContentMetadata({ cfg, fileData, displayClass }: QuartzComponentProps) { + function ContentMetadata({ cfg, fileData }: QuartzComponentProps) { const text = fileData.text if (text) { const segments: string[] = [] const { text: timeTaken, words: _words } = readingTime(text) if (fileData.dates) { - segments.push(formatDate(getDate(cfg, fileData)!)) + const createdDate = formatDate(getDate(cfg, fileData)!) + const modifiedDate = formatDate(fileData.dates.modified) // Assuming fileData contains a 'dates' object with 'modified' property + + segments.push(`Created: ${createdDate}, Modified: ${modifiedDate}`) } - segments.push(timeTaken) - return

{segments.join(", ")}

+ // segments.push(timeTaken) + return

{segments.join(", ")}
{timeTaken}
} else { return null } @@ -27,4 +30,4 @@ export default (() => { } ` return ContentMetadata -}) satisfies QuartzComponentConstructor +}) satisfies QuartzComponentConstructor \ No newline at end of file