Reverse order of source tags so they load in the correct order
This commit is contained in:
parent
2535c30c2f
commit
2a349d32d3
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
{% block main_content %}
|
||||
{% if page.hero_image_url %}
|
||||
<picture>
|
||||
{% for width, image_url in page.hero_image_urls.items %}<source srcset="{{ image_url }}" media="(max-width: {{ width }}px)" />{% endfor %}
|
||||
{% for width, image_url in page.hero_image_urls.items reversed %}<source srcset="{{ image_url }}" media="(max-width: {{ width }}px)" />{% endfor %}
|
||||
|
||||
<img class="hero" src="{{ page.hero_image_url }}" decoding="async" alt="" />
|
||||
</picture>
|
||||
|
|
Loading…
Reference in a new issue