chore: Temporarily simplify image rendering in [tag].astro for debugging
This commit is contained in:
parent
e155596f1b
commit
d10f87e899
|
@ -44,23 +44,14 @@ const sortedPosts = posts.sort((a, b) => {
|
|||
<div class="blog-grid">
|
||||
{sortedPosts.map((post) => (
|
||||
<article class="post-card">
|
||||
{post.data.heroImage ? (
|
||||
<img
|
||||
width={720}
|
||||
height={360}
|
||||
src={post.data.heroImage}
|
||||
alt=""
|
||||
class="post-image"
|
||||
/>
|
||||
) : (
|
||||
<img
|
||||
width={720}
|
||||
height={360}
|
||||
src="/images/placeholders/default.jpg"
|
||||
alt=""
|
||||
class="post-image"
|
||||
/>
|
||||
)}
|
||||
{/* Temporarily removed conditional image rendering for debugging */}
|
||||
<img
|
||||
width={720}
|
||||
height={360}
|
||||
src="/images/placeholders/default.jpg"
|
||||
alt=""
|
||||
class="post-image"
|
||||
/>
|
||||
<div class="post-content">
|
||||
<div class="post-meta">
|
||||
<time datetime={post.data.pubDate ? new Date(post.data.pubDate).toISOString() : ''}>
|
||||
|
|
Loading…
Reference in New Issue