[%- ELSIF attachment.type == 2 -%] [%# Gifv attachment (mastodon) %] attachment-gifv"> [%- ELSIF attachment.type == 3 -%] [%# video attachment %] attachment-video"> [%- ELSIF attachment.type == 4 -%] [%# Audio attachment %] attachment-audio"> [%- ELSE -%] [%# Unknown attachment - Link %] attachment-link [% IF sensitive %]sensitive[% END %]"> Attachment [%- END -%] [% IF sensitive && attachment.type != 0 %] [%# Link %]
[% END %]