most of the theme is done, need two intro bits on homepage, considering images and fonts
This commit is contained in:
@@ -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