{%- if msg.type != C.MESS_TYPE_INFO %} {%- set author = identities[msg.from_].nick | default(msg.from_) -%} {%- if identities[msg.from_].avatar_basename is defined %} {% else %} {{author|first|upper}} {%- endif -%} {{author}} {{msg.timestamp|date_fmt('auto_day')}} {% endif -%} {{- msg.html or (msg.text|urlize(nofollow=true, target="_blank")) -}}