Fix: Point posts directory to content/blog and remove truncated malformed files
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🏗️ Build (push) Failing after 11m7s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🩺 Smoke Test (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s

This commit is contained in:
2026-05-05 13:58:33 +02:00
parent f2bffea312
commit 6e64da48d6
22 changed files with 3 additions and 222 deletions

View File

@@ -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 {