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

@ -5,7 +5,7 @@
{% with authors=post.get_authors() %}
{%- if authors -%}
<span class="user-img" style="width: 1.5em; height: 1.5em">
<img src="{{gravatar(authors[0])}}">
<img src="{{gravatar(authors[0])}}" loading="lazy">
</span>
<span class="post-authors">{{ link_users(authors) }}</span>
{%- endif -%}