Improve img lazy loading (#34804)

Related #32051 and #13526
This commit is contained in:
wxiaoguang authored and GitHub committed 2025-06-21 14:53:22 +08:00
1 parent 0990eb44ce
commit 81adb01713
11 files changed
+30 -17

No files matched your search

@@ -103,7 +103,7 @@
<ul class="user-badges">
{{range .Badges}}
<li>
<img width="64" height="64" src="{{.ImageURL}}" alt="{{.Description}}" data-tooltip-content="{{.Description}}">
<img loading="lazy" width="64" height="64" src="{{.ImageURL}}" alt="{{.Description}}" data-tooltip-content="{{.Description}}">
</li>
{{end}}
</ul>