Skip to content

Commit 92c60ee

Browse files
committed
Update responsive image code
1 parent 034da4e commit 92c60ee

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: templates/includes/blog_hero.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,10 @@ <h2 class="sr-only">Authors</h2>
4545
{% endcomment %}
4646

4747
{% image page.image fill-1000x563 format-webp as img_base %}
48-
{% image page.image fill-1250x703 format-webp as img_sm %}
49-
{% image page.image fill-1650x928 format-webp as img_xl %}
48+
{% image page.image fill-1650x928 format-webp as img_sm %}
5049

5150
<picture>
5251
<source srcset="{{ img_sm.url }}" media="(min-width: 500px)">
53-
<source srcset="{{ img_xl.url }}" media="(min-width: 1200px)">
5452
<img
5553
src="{{ img_base.url }}"
5654
alt="{{ page.alt_text|default:img_base.alt }}"

0 commit comments

Comments
 (0)