Update welcome post content and formatting; implement dynamic blog owner name in layout and post metadata; add author field to post structure and API routes.

This commit is contained in:
rattatwinko
2025-06-17 16:26:43 +02:00
parent dfe3e28dab
commit a1e4238435
8 changed files with 80 additions and 30 deletions

View File

@@ -39,6 +39,7 @@ async function getPostBySlug(slug: string) {
summary: data.summary,
content: processedContent.toString(),
createdAt: createdAt.toISOString(),
author: process.env.NEXT_PUBLIC_BLOG_OWNER + "'s" || 'Anonymous',
};
}