Skip to content

Commit 3a3eba4

Browse files
authored
Add loading="lazy" for images (#691)
1 parent 4c6173a commit 3a3eba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@inherits RazorSlice<ImageViewModel>
22
<a class="reference internal image-reference" href="@Model.ImageUrl">
3-
<img alt="@Model.Alt" src="@Model.ImageUrl" style="@Model.Style" class="@Model.Screenshot" />
3+
<img loading="lazy" alt="@Model.Alt" src="@Model.ImageUrl" style="@Model.Style" class="@Model.Screenshot" />
44
[CONTENT]
55
</a>

0 commit comments

Comments
 (0)