Maps' images are now clickable...

This commit is contained in:
BurnyLlama 2021-11-13 21:01:00 +01:00
parent 6eb4cef1bb
commit f29c46b919

View File

@ -1,6 +1,8 @@
{% macro card(map) %}
<div class="map">
<a href="/maps/{{ map.map | urlencode }}">
<img class="map-image" data-src="https://ddnet.tw/ranks/maps/{{ map.map | replace(r/[À-ž]/g, "__") | replace(r/[^a-zA-Z0-9]/g, "_") }}.png">
</a>
<h1 class="map-name">{{ map.map }}</h1>
<table class="map-info">
<tr>