Fix: Make content optional in BlogPost type
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ export interface BlogPost {
|
|||||||
coverImage: string;
|
coverImage: string;
|
||||||
category?: string;
|
category?: string;
|
||||||
tags?: string[];
|
tags?: string[];
|
||||||
content: string;
|
content?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const BLOG_POSTS_DIR = path.join(process.cwd(), 'blog-posts');
|
const BLOG_POSTS_DIR = path.join(process.cwd(), 'blog-posts');
|
||||||
|
|||||||
Reference in New Issue
Block a user