From 3858e2f2b365228724a95de9a2b0dd2a34ff2a33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E6=9C=88?= Date: Wed, 15 Apr 2026 14:36:10 +0800 Subject: [PATCH] fix: remove inline cover image to avoid duplication with OG image The frontmatter image field is now used only for Open Graph meta tags. The ImageWrapper that rendered it as an inline hero was removed to prevent the same image appearing twice (once as OG card, once in content). The dashed divider now always shows below post metadata. --- src/pages/posts/[...slug].astro | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/pages/posts/[...slug].astro b/src/pages/posts/[...slug].astro index 2bd5083..f2b11e5 100644 --- a/src/pages/posts/[...slug].astro +++ b/src/pages/posts/[...slug].astro @@ -93,14 +93,10 @@ const jsonLd = { tags={entry.data.tags} category={entry.data.category} > - {!entry.data.image &&
} +
- - - {entry.data.image && -