{# the first letter on the name's colour; a picture, when the account has one, lies over it and leaves if it cannot be loaded #} {% macro avatar(account, size="") -%} {{ account.name[:1] | upper }}{% if account.avatar %}{% endif %} {%- endmacro %}