remove useless attribute

This commit is contained in:
array-in-a-matrix 2024-01-16 02:22:47 -05:00
parent d8fdf27ed6
commit 5470adc4f8

View file

@ -96,7 +96,7 @@ const posts = (await getCollection('blog')).sort(
posts.map((post) => (
<li>
<a href={`/${post.slug}/`}>
{ post.data.heroImage ? <img width={720} height={360} src={post.data.heroImage} alt="" /> : <img width={720} height={360} src={post.data.heroImage} id="gradient" alt="" />}
{ post.data.heroImage ? <img width={720} height={360} src={post.data.heroImage} alt="" /> : <img width={720} height={360} id="gradient" alt="" />}
<h4 class="title">{post.data.title}</h4>
<p class="date">
<FormattedDate date={post.data.pubDate} />