make expanded image modal work on art page

master
Aevann 2024-04-11 13:14:49 +02:00
parent 21465843fc
commit 195a21a8b1
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
<h2 class="mt-4">{{title}}</h2>
{% for url in urls %}
<a href="{{url|expand_art}}">
<img class="mt-4 mr-3" style="max-width:{% if request.path == '/banners' %}80vw{% else %}300px{% endif %}" src="{{url}}" loading="lazy" data-nonce="{{g.nonce}}" data-onclick="expandImage('{{url|expand_art}}')">
<img class="mt-4 mr-3 img" style="max-width:{% if request.path == '/banners' %}80vw{% else %}300px{% endif %}" src="{{url}}" loading="lazy" data-nonce="{{g.nonce}}" data-onclick="expandImage('{{url|expand_art}}')">
</a>
{% endfor %}
</div>