From f696e556006fe96ae470c4aaa3ec98c25f46aa19 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sat, 21 Feb 2026 21:45:30 +0100 Subject: [PATCH] feat(blog): improve blog overview teasers layout Increases the line clamps for title and excerpt in the blog overview grid. Also parses the markdown content to auto-generate a fallback excerpt if omitted in frontmatter. --- app/[locale]/blog/page.tsx | 6 +++--- lib/blog.ts | 40 +++++++++++++++++++++++++++++++++++--- 2 files changed, 40 insertions(+), 6 deletions(-) diff --git a/app/[locale]/blog/page.tsx b/app/[locale]/blog/page.tsx index 1b53daf9..f6f7f9a0 100644 --- a/app/[locale]/blog/page.tsx +++ b/app/[locale]/blog/page.tsx @@ -94,7 +94,7 @@ export default async function BlogIndex({ params }: BlogIndexProps) { {featuredPost.frontmatter.title} -

+

{featuredPost.frontmatter.excerpt}