Skip to content

Commit e056828

Browse files
committed
🎈 perf: add lazy loading to all images
1 parent be563bd commit e056828

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/Articles.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const allPosts = await Astro.glob('../pages/posts/*.md');
3131
height="144"
3232
class="rounded-xl max-lg:w-full"
3333
alt={post.frontmatter.image.alt}
34+
loading="lazy"
3435
/>
3536
<section>
3637
<CustomParagraph

0 commit comments

Comments
 (0)