diff --git a/src/app/(frontend)/posts/page.tsx b/src/app/(frontend)/posts/page.tsx index b5f1004..270bd42 100644 --- a/src/app/(frontend)/posts/page.tsx +++ b/src/app/(frontend)/posts/page.tsx @@ -22,38 +22,51 @@ export default async function Page() { title: true, slug: true, heroImage: true, - categories: true, meta: true, publishedAt: true, - populatedAuthors: true, }, }) return (
- {posts.totalDocs} {posts.totalDocs === 1 ? 'artikel' : 'artiklar'} -
-Inga inlägg hittades.
) : ( -+ {formatDateTime(p.publishedAt)} +
+ )} + + {/* Image with rounded corners */} +- {summary} -
- )} - {p.publishedAt && ( -- {formatDateTime(p.publishedAt)} -
- )} -