Skip to content

Commit

Permalink
fix: lazy load leaderboard profile images
Browse files Browse the repository at this point in the history
  • Loading branch information
W2Wizard authored and FreekBes committed Nov 19, 2024
1 parent 1afae22 commit 604ad50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/home.njk
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<td class="p-0">
<div class="d-inline-flex flex-row justify-content-start align-items-center text-light">
<a href="/profile/{{ ranking.user.login }}" class="p-2 text-light" style="text-decoration: none;">
<img src="{{ ranking.user.image }}" class="user-picture rounded-circle d-inline-block me-2" height="32" />
<img loading="lazy" src="{{ ranking.user.image }}" class="user-picture rounded-circle d-inline-block me-2" height="32" />
<span>{{ ranking.user.usual_full_name }}</span>
</a>
</div>
Expand Down

0 comments on commit 604ad50

Please sign in to comment.