moved blog posts out of content.ts for external management

This commit is contained in:
Hunter
2026-11-01 11:14:38 -05:00
parent ef1cc9144d
commit 8796682bb7
3 changed files with 36 additions and 77 deletions

View File

@@ -9,7 +9,7 @@ import BlogList from "@/components/BlogList";
* links use the ?category= form so navigation stays consistent across both.
* Unknown slugs 404: a real route can notFound(), a query param cannot.
*/
export default function BlogCategoryPage({ params }: { params: Promise<{ category: string }> }) {
export default async function BlogCategoryPage({ params }: { params: Promise<{ category: string }> }) {
const { category } = await params;
if (!category || !blogCategories().includes(category)) notFound();