mirror of
https://github.com/GuerillaStudio/vanillalist.git
synced 2024-12-30 11:51:57 +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
|
||||
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>
|
||||
|
|
Loading…
Reference in a new issue