mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-09-26 13:30:13 +00:00
9c92ba1698
This was suggested on Matrix a while ago but I only found the time now to move forward with it. Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
10 lines
377 B
HTML
10 lines
377 B
HTML
{% load static %}
|
|
|
|
<img
|
|
class="avatar image {% if large %}is-96x96{% elif medium %}is-48x48{% else %}is-32x32{% endif %}"
|
|
src="{% if user.avatar %}{% get_media_prefix %}{{ user.avatar }}{% else %}{% static "images/default_avi.jpg" %}{% endif %}"
|
|
{% if ariaHide %}aria-hidden="true"{% endif %}
|
|
alt="{{ user.alt_text }}"
|
|
loading="lazy"
|
|
decoding="async"
|
|
>
|