add base url and not lazy loading for 1st image in carousel
This commit is contained in:
parent
e49ce4a496
commit
b00004f948
@ -1,4 +1,4 @@
|
||||
baseURL = ''
|
||||
baseURL = 'https://ltqf.fr'
|
||||
relativeURLs = "False"
|
||||
languageCode = 'en-us'
|
||||
title = "Compagnie Le Temps Qu'il Faut"
|
||||
|
||||
@ -13,7 +13,9 @@
|
||||
<figure class="image">
|
||||
<picture>
|
||||
<source srcset="{{ $webp.Permalink }}" type="image/webp">
|
||||
<img src='{{ $jpeg.Permalink }}' loading="lazy" width="{{ .Width }}" height="{{ .Height }}" alt="{{ .Permalink }}">
|
||||
<img src='{{ $jpeg.Permalink }}'
|
||||
{{ if ne $index 0 }} loading="lazy" {{ end }}
|
||||
width="{{ .Width }}" height="{{ .Height }}" alt="{{ .Permalink }}">
|
||||
</picture>
|
||||
</figure>
|
||||
{{ end }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user