[%# I can't quite say the below is fastest or could be done inline (one eval?),
not the fastest but it just works %]
[% revmessages = messages.reverse %]
[% FOREACH msg IN revmessages %]
[% emojify(msg.content, msg.emojis) %]
[% reltime(msg.created_at) %]
[% END %]