add loading=lazy

This commit is contained in:
Rhiannon Morris 2020-09-29 19:58:54 +02:00
parent b9ea7f7bcb
commit 2772ad84d8

View file

@ -137,7 +137,7 @@ makeItem nsfw file info@(Info {title, bg}) = [b|@4
data-tags="$tags'"> data-tags="$tags'">
<figure> <figure>
<a href="$dir"> <a href="$dir">
<img src="$thumb"$bgStyle> <img src="$thumb" loading=lazy$bgStyle>
</a> </a>
<figcaption> <figcaption>
<span class=date>$date'</span> <span class=date>$date'</span>