From a1d5f755b1e79d83c0f11645d485c37276fac01f Mon Sep 17 00:00:00 2001 From: Zankaria Date: Thu, 5 Sep 2024 15:54:30 +0200 Subject: [PATCH] fileinfo.html: use semantic html tags figure and figcaption for files --- templates/post/fileinfo.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/post/fileinfo.html b/templates/post/fileinfo.html index a2384fe9..cab93709 100644 --- a/templates/post/fileinfo.html +++ b/templates/post/fileinfo.html @@ -3,11 +3,11 @@ {% else %}
{% for file in post.files %} -
+
{% if file.file == 'deleted' %} {% else %} -

File: {{ file.file }} +

File: {{ file.file }} ( {% if file.thumb == 'spoiler' %} {% trans %}Spoiler Image{% endtrans %}, @@ -28,10 +28,10 @@ {% endif %} ) {% include "post/image_identification.html" %} - {% include "post/file_controls.html" %}

+ {% include "post/file_controls.html" %}
{% include "post/image.html" with {'post':file} %} {% endif %} -
+ {% endfor %}
{% endif %}