IMPR: don't lazy load first slider el

This commit is contained in:
Tony Air 2024-06-23 01:52:52 +02:00
parent b52d7caf5e
commit 9a52725ebd

View File

@ -12,7 +12,7 @@
<% if $Image || $ImageURL %> <% if $Image || $ImageURL %>
<span class="img"> <span class="img">
<img class="glide__img" <img class="glide__img"
loading="lazy" <% if not $IsFirst %>loading="lazy"<% end_if %>
src="<% if $ImageURL %>$ImageURL<% else %>$Image.FocusFill($SlideWidth,$SlideHeight).URL<% end_if %>" src="<% if $ImageURL %>$ImageURL<% else %>$Image.FocusFill($SlideWidth,$SlideHeight).URL<% end_if %>"
alt="<% if $Headline %>$Headline.XML<% end_if %>" alt="<% if $Headline %>$Headline.XML<% end_if %>"
width="1920" width="1920"