wiki-grav/plugins/admin/themes/grav/templates/partials/nav-user-avatar.html.twig

3 lines
92 B
Twig
Raw Normal View History

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