undefined check for link.link, remove heroImage

This commit is contained in:
2024-03-10 08:54:49 -05:00
parent a9e1b7bbce
commit b0a149260a
2 changed files with 3 additions and 3 deletions

View File

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