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:
parent
b85a1d6b2a
commit
a5b1114f2e
1 changed files with 4 additions and 0 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue