moviewyrm/fedireads/templates/snippets/avatar.html

2 lines
127 B
HTML

<img class="user-pic" src="{% if user.avatar %}/images/{{ user.avatar }}{% else %}/static/images/default_avi.jpg{% endif %}">