Merge branch 'main' of https://github.com/onwidget/astrowind
This commit is contained in:
@ -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">
|
<div class="relative md:h-64 bg-gray-400 dark:bg-slate-700 rounded shadow-lg mb-6">
|
||||||
{
|
{
|
||||||
image && (
|
image && (
|
||||||
|
<a href={getPermalink(post.permalink, 'post')}>
|
||||||
<Picture
|
<Picture
|
||||||
src={image}
|
src={image}
|
||||||
class="md:object-cover w-full md:w-auto md:h-full rounded shadow-lg bg-gray-400 dark:bg-slate-700"
|
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"
|
loading="lazy"
|
||||||
decoding="async"
|
decoding="async"
|
||||||
/>
|
/>
|
||||||
|
</a>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user