From 0bd27dd7ef752d8c95aeda0b330628c365c7573e Mon Sep 17 00:00:00 2001 From: Nils Pukropp Date: Mon, 18 May 2026 14:33:58 +0200 Subject: [PATCH] modified blog posts --- frontend/src/pages/posts/[slug].astro | 22 +++++----------- frontend/src/styles/partials/45-blog.css | 32 ------------------------ 2 files changed, 6 insertions(+), 48 deletions(-) diff --git a/frontend/src/pages/posts/[slug].astro b/frontend/src/pages/posts/[slug].astro index 69768f5..b584d41 100644 --- a/frontend/src/pages/posts/[slug].astro +++ b/frontend/src/pages/posts/[slug].astro @@ -78,7 +78,7 @@ const displayTitle = post ? (post.title || formatSlug(post.slug)) : 'Work'; image={post?.cover_image?.url} type="article" > - {post?.cover_image?.url && ( + {!isBlog && post?.cover_image?.url && ( @@ -113,20 +113,6 @@ const displayTitle = post ? (post.title || formatSlug(post.slug)) : 'Work'; )} - {/* Blog mode: cover rides above the plaque as a lead image. In atelier - the cover is the index plate's job, not the post page's. */} - {isBlog && post.cover_image?.url && ( -
- {post.cover_image.alt -
- )} - {/* Plaque header */}

@@ -174,7 +160,11 @@ const displayTitle = post ? (post.title || formatSlug(post.slug)) : 'Work'; {/* Body — works on paper */}
- {(neighbors.prev || neighbors.next) && ( + {isBlog ? ( + + ) : (neighbors.prev || neighbors.next) && (