{% load i18n %} {% comment %} Render an attachment to HTML in the markdown extension {% endcomment %} {% if not attachment_can_read %} {% trans "This attachment is not permitted on this page." %} {% else %} {{ title }}{% if size %} [{{ size|filesizeformat }}]{% endif %} {% endif %}