From 0f0f925dd7c86d696d5070746f98a1233d375bd1 Mon Sep 17 00:00:00 2001 From: grassblock Date: Wed, 23 Jul 2025 18:44:55 +0800 Subject: [PATCH] feat: wrapped article with
element --- src/pages/blog/[...slug].astro | 38 ++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/src/pages/blog/[...slug].astro b/src/pages/blog/[...slug].astro index 6c4ec0c..3d3025d 100644 --- a/src/pages/blog/[...slug].astro +++ b/src/pages/blog/[...slug].astro @@ -49,25 +49,27 @@ const cover = customFeaturedImage || matchedImage_src?.src || firstImageURL || ` ogImage={cover} author={authorInfo.map((a: any) => a.name).join(', ')} > -

{entry.data.title}

- {authorInfo.map((a: any) => )} - {new Date(entry.data.pubDate).toISOString().split('T')[0]} - {headings.length !== 0 && } - {entry.data.summary &&

{entry.data.summary}

} -
- -
+
+

{entry.data.title}

+ {authorInfo.map((a: any) => )} + {new Date(entry.data.pubDate).toISOString().split('T')[0]} + {headings.length !== 0 && } + {entry.data.summary &&

{entry.data.summary}

} +
+ +
-
- -
- ← Back to posts - {!noscript &&

Comments

} - {!noscript && - - } +
+ +
+ ← Back to posts + {!noscript &&

Comments

} + {!noscript && + + } +