{% load static %}
{% if user.profile.image %} {{user.username}} {% else%}
{{user.username|slice:":1"}}
{% endif %}