most of the theme is done, need two intro bits on homepage, considering images and fonts
This commit is contained in:
1 parent
a5ce703879
commit
7eac18bbc3
16 files changed
+1284
-113
No files matched your search
@@ -5,8 +5,6 @@ import matter from "gray-matter"
|
||||
export interface Post {
|
||||
slug: string
|
||||
title: string
|
||||
date: string
|
||||
excerpt?: string
|
||||
content: string
|
||||
}
|
||||
|
||||
@@ -34,8 +32,6 @@ export async function getPost(slug: string): Promise<Post | null> {
|
||||
return {
|
||||
slug,
|
||||
title: data.title || slug,
|
||||
date: data.date || "",
|
||||
excerpt: data.excerpt || "",
|
||||
content,
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
Reference in new issue
Block a user