ddstats-server/views/pages/maps.njk
2021-11-04 22:50:57 +01:00

16 lines
476 B
Plaintext

{% extends "../templates/basic.njk" %}
{% import "../components/_map.njk" as mapComponent %}
{% block head %}
<title>DDStats - Maps!</title>
<link rel="stylesheet" type="text/css" href="/assets/css/maps.css">
<script src="/assets/scripts/lazyLoadImages.js" defer></script>
{% endblock %}
{% block body %}
<main class="maps-container">
{% for map in data.maps %}
{{ mapComponent.card(map) }}
{% endfor %}
</main>
{% endblock %}