{# Specific extensions, then specific mimetypes, then general mimtypes #} {% set thumbnails = { "svg": "svg", "application/zip": "archive", "application/x-tar": "archive", "archive": "archive", "audio": "audio", "video": "video", "text": "txt", } %} {% macro create_photo_card(photo, view="grid") %} {% if view == "list" %}
{% else %} {% endif %} {% endmacro %}