Fix: Point posts directory to content/blog and remove truncated malformed files
Some checks failed
Some checks failed
This commit is contained in:
@@ -2,7 +2,7 @@ import fs from "fs";
|
||||
import path from "path";
|
||||
import matter from "gray-matter";
|
||||
|
||||
const POSTS_DIR = path.join(process.cwd(), "src/content/posts");
|
||||
const POSTS_DIR = path.join(process.cwd(), "content/blog");
|
||||
|
||||
export async function getAllPosts() {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user