Fix bugs in section files

This commit is contained in:
2025-05-12 23:14:24 +02:00
parent f9b1b53c9f
commit c405d0109c
11 changed files with 103 additions and 40 deletions

View File

@@ -3,24 +3,31 @@
{% block main %}
<div class="container theme-showcase" role="main">
<br />
<div id="gallery center" style= "margin-top:10vw;">
{% if fichiers %}
<div id="gallery">
{% for image in fichiers %}
<img src="/myfiles/images/thumbnails/{{ image }}" class="img-rounded" alt=""/>
{% for image in fichiers %}
<a href="/myfiles/images/{{ image }}" class="glightbox">
<img src="/myfiles/images/thumbnails/{{ image }}" class="img-rounded gallery" alt=""/>
</a>
{% endfor %}
{% else %}
</div>
<h2> Il n'y a aucunes images dans votre gallerie </h2>
{% endif %}
</div>
</div>
{% endblock %}