remove useless attribute
This commit is contained in:
parent
d8fdf27ed6
commit
5470adc4f8
|
@ -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} />
|
||||
|
|
Loading…
Reference in a new issue