1

Allow lazy loading

This commit is contained in:
Evan Pratten 2022-11-26 10:27:18 -05:00
parent 7806daaae2
commit c2eb462456
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
<div class="row g-0">
<div class="col-md-4">
<img src="{{collection.extra.cover_image}}" class="img-fluid rounded-start cover-image"
alt="Cover image">
alt="Cover image" loading="lazy">
</div>
<div class="col-md-8">
<div class="card-body">

View File

@ -1,4 +1,4 @@
<a href="{{path}}">
<img src="{{path}}" {% if alt %} alt="{{alt}}" {% endif %}>
<img src="{{path}}" {% if alt %} alt="{{alt}}" {% endif %} loading="lazy">
</a>
<br>