Add lazy loading to post avatars
This commit is contained in:
parent
a3fe52dff3
commit
c0cbfcc548
|
@ -58,6 +58,7 @@ export function avatarImg(wanted, attrs) {
|
|||
src: getURLWithCDN(url),
|
||||
title,
|
||||
"aria-label": title,
|
||||
loading: "lazy",
|
||||
},
|
||||
className,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue