moviewyrm/bookwyrm/templates/snippets/avatar.html
2020-12-12 18:25:57 -08:00

3 lines
245 B
HTML

{% load bookwyrm_tags %}
<img class="avatar image {% if large %}is-96x96{% else %}is-32x32{% endif %}" src="{% if user.avatar %}/images/{{ user.avatar }}{% else %}/static/images/default_avi.jpg{% endif %}" alt="avatar for {{ user|username }}">