修改页面风格

This commit is contained in:
2026-06-18 11:07:23 +08:00 Unverified
parent 7c3679e885
commit 9d6de3158e
15 changed files with 1293 additions and 5617 deletions
+2
View File
@@ -13,6 +13,7 @@ export type BlogPost = MarkdownModule & {
tags: string[];
categories: string[];
summary: string;
cover?: string;
href: string;
};
@@ -79,6 +80,7 @@ export function getAllPosts(): BlogPost[] {
tags: asArray(module.frontmatter.tags),
categories: asArray(module.frontmatter.categories),
summary: makeSummary(module),
cover: typeof module.frontmatter.cover === 'string' ? module.frontmatter.cover : undefined,
href: `/posts/${slug}/`,
};
})