moviewyrm/bookwyrm/templates/snippets/avatar.html
2020-12-17 12:54:04 -08:00

3 lines
234 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="{{ user.alt_text }}">