Add lazy loading to post avatars

This commit is contained in:
Joe
2021-11-03 18:46:47 +08:00
committed by Robin Ward
parent a3fe52dff3
commit c0cbfcc548

View File

@@ -58,6 +58,7 @@ export function avatarImg(wanted, attrs) {
src: getURLWithCDN(url),
title,
"aria-label": title,
loading: "lazy",
},
className,
};