{% macro download_button(file) %}
<span class="dl-button">
    <a href="{{ file.url }}">{{ file.name }}</a>
    <span>{{ file.size | humanize(unit='o') }}</span>
</span>
{% endmacro %}

{{ download_button(file) if file }}
