This commit is contained in:
prototypa
2023-03-20 00:08:48 -04:00

View File

@ -19,6 +19,7 @@ const image = await findImage(post.image);
<div class="relative md:h-64 bg-gray-400 dark:bg-slate-700 rounded shadow-lg mb-6">
{
image && (
<a href={getPermalink(post.permalink, 'post')}>
<Picture
src={image}
class="md:object-cover w-full md:w-auto md:h-full rounded shadow-lg bg-gray-400 dark:bg-slate-700"
@ -31,6 +32,7 @@ const image = await findImage(post.image);
loading="lazy"
decoding="async"
/>
</a>
)
}
</div>