1
0
Fork 0
mirror of https://github.com/GuerillaStudio/vanillalist.git synced 2024-12-21 08:31:55 +00:00

Add lazy loading on images

This commit is contained in:
Tixie 2021-03-01 10:14:01 +01:00
parent 799064c0d8
commit 17502ca5f3

View file

@ -21,7 +21,8 @@ module.exports = function (plugin) {
<img
src="${plugin.image308}" alt="${plugin.title}"
srcset="${plugin.image616} 2x"
width="308" height="195">
width="308" height="195"
loading="lazy">
</picture>
</a>
<h2 class="plugin__name">${plugin.title}</h2>