Skip to content

Commit

Permalink
Switch blog header img to eager instead of lazy load
Browse files Browse the repository at this point in the history
  • Loading branch information
siakaramalegos committed Aug 5, 2022
1 parent f62ef25 commit 214cd83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sections/main-article.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{{ article.image | image_url }} {{ article.image.width }}w"
sizes="(min-width: {{ settings.page_width }}px) {{ settings.page_width | minus: 100 }}px, (min-width: 750px) calc(100vw - 10rem), 100vw"
src="{{ article.image | image_url: width: 1100 }}"
loading="lazy"
loading="eager"
width="{{ article.image.width }}"
height="{{ article.image.height }}"
alt="{{ article.image.alt | escape }}">
Expand Down

0 comments on commit 214cd83

Please sign in to comment.