Maps' images are now clickable...
This commit is contained in:
parent
6eb4cef1bb
commit
f29c46b919
|
@ -1,6 +1,8 @@
|
||||||
{% macro card(map) %}
|
{% macro card(map) %}
|
||||||
<div class="map">
|
<div class="map">
|
||||||
<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 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>
|
<h1 class="map-name">{{ map.map }}</h1>
|
||||||
<table class="map-info">
|
<table class="map-info">
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user