Arreglados íconos en insertos de cartas (#1)

Reviewed-on: https://codeberg.org/LuckyMeowth/luckymeowth/pulls/1
Co-authored-by: Felipe Contreras Salinas <felipe@bstr.cl>
Co-committed-by: Felipe Contreras Salinas <felipe@bstr.cl>
This commit is contained in:
Felipe 2024-11-22 00:06:48 +00:00 committed by Felipe Contreras Salinas
parent b85a1d6b2a
commit a5b1114f2e

View file

@ -1,5 +1,9 @@
{% set card = load_data(path="content/ptcg/cards/" ~ id ~ ".toml") %}
{% if nth == 1 and config.mode == "serve" %}
<script src="{{ get_url(path='ptcg-icons.js') }}" async></script>
{% endif %}
<div class="ptcg-card">
<picture>
<source srcset="{{ get_url(path="ptcg/" ~ id ~ ".webp") }}" type="image/webp">