Add lazy loading img and fix friend ranking

This commit is contained in:
cuom1999 2024-04-14 00:23:14 -05:00
parent 4a2bc46206
commit 86815fb460
10 changed files with 11 additions and 11 deletions

View file

@ -1,7 +1,7 @@
<span class="{{ profile.css_class }} {{'user-with-img' if show_image}}">
{% if show_image %}
<span class="user-img">
<img src="{{gravatar(profile)}}">
<img loading="lazy" src="{{gravatar(profile)}}">
</span>
{% endif %}
<a href="{{ url('user_page', profile.username) }}">