Skip to content

Commit f69c7de

Browse files
committed
chore: update /lib/utils/md
1 parent 9f7a9e6 commit f69c7de

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/lib/utils/md.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,13 @@ export const getContentBySlug = (slug: string) => {
336336
const fileContents = fs.readFileSync(fullPath, "utf8")
337337
const { data, content } = matter(fileContents)
338338
const frontmatter = data as Frontmatter
339-
const items: Omit<MdPageContent, "tocItems" | "contributors"> = {
339+
const items: Omit<
340+
MdPageContent,
341+
| "tocItems"
342+
| "contributors"
343+
| "lastEditLocaleTimestamp"
344+
| "lastDeployLocaleTimestamp"
345+
> = {
340346
slug,
341347
content,
342348
frontmatter,

0 commit comments

Comments
 (0)