Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
{{ _("Download") }} ({{ format_size(file.size) }})
</a>
- <dl class="row mb-0">
+ <dl class="row">
<dt class="col-sm-3">{{ _("Filename") }}</dt>
<dd class="col-sm-9">{{ file.filename }}</dd>
<dt class="col-sm-3">{{ _("Uploaded at") }}</dt>
<dd class="col-sm-9">{{ locale.format_date(file.created_at) }}</dd>
</dl>
+
+ {% if file.is_image() %}
+ <h6>{{ _("Usage") }}</h6>
+
+ <pre><code>![{{ _("Caption")}}]({{ file.filename }})</code></pre>
+ {% end %}
</div>
</div>
{% end block %}