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:
parent
799064c0d8
commit
17502ca5f3
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ module.exports = function (plugin) {
|
||||||
<img
|
<img
|
||||||
src="${plugin.image308}" alt="${plugin.title}"
|
src="${plugin.image308}" alt="${plugin.title}"
|
||||||
srcset="${plugin.image616} 2x"
|
srcset="${plugin.image616} 2x"
|
||||||
width="308" height="195">
|
width="308" height="195"
|
||||||
|
loading="lazy">
|
||||||
</picture>
|
</picture>
|
||||||
</a>
|
</a>
|
||||||
<h2 class="plugin__name">${plugin.title}</h2>
|
<h2 class="plugin__name">${plugin.title}</h2>
|
||||||
|
|
Loading…
Reference in a new issue