diff --git a/src/components/PostList.astro b/src/components/PostList.astro index 70d82a3..6a32657 100644 --- a/src/components/PostList.astro +++ b/src/components/PostList.astro @@ -26,46 +26,46 @@ const fmt = (d) => new Date(d).toLocaleDateString('en-US', {enriched.length > 0 && !tag && hero && (
- - {hero.cover && ( -
- -
- )} -
-
Top story
-

{hero.title}

-

{hero.rawExcerpt}

-
- {fmt(hero.date)} - {hero.tags.slice(0, 4).map((t) => ( - {t} - ))} -
+ {hero.cover && ( +
+
- + )} +
+
Top story
+

+ {hero.title} +

+

{hero.rawExcerpt}

+
+ {fmt(hero.date)} + {hero.tags.slice(0, 4).map((t) => ( + {t} + ))} +
+
)} {(tag ? enriched : rest).map((post, i) => (
- - {post.cover && ( -
- -
- )} -
-

{post.title}

-

{post.rawExcerpt}

-
- - {post.tags.slice(0, 3).map((t) => ( - {t} - ))} -
+ {post.cover && ( +
+
- + )} +
+

+ {post.title} +

+

{post.rawExcerpt}

+
+ + {post.tags.slice(0, 3).map((t) => ( + {t} + ))} +
+
))}