{% set user_avatar = admin.user.getAvatarUrl() %} <img src="{{ '?' not in user_avatar ? user_avatar ~ '?s=80' : user_avatar }}" />