aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/image-gallery.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/image-gallery.html')
-rw-r--r--layouts/partials/image-gallery.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/layouts/partials/image-gallery.html b/layouts/partials/image-gallery.html
index 5e5b874..d3a5fae 100644
--- a/layouts/partials/image-gallery.html
+++ b/layouts/partials/image-gallery.html
@@ -14,9 +14,14 @@
class="gallery__img"
src="{{ (.Fill "1152x768").Permalink }}"
alt=""
+ loading="lazy"
/>
<label for="img-{{ $id }}" class="gallery__thumb">
- <img src="{{ (.Fill "150x100").Permalink }}" alt="" />
+ <img
+ src="{{ (.Fill "150x100").Permalink }}"
+ alt=""
+ loading="lazy"
+ />
</label>
</div>
{{ end }}