lib.itmens/custom/_item_card.custom.html
gesang 2bf8d607f9
Some checks are pending
code check / lint (3.12) (push) Waiting to run
code check / type-checker (3.12) (push) Waiting to run
Mirror to Codeberg / to_codeberg (push) Waiting to run
unit test / django (3.12) (push) Waiting to run
get rid of iframes
2025-03-11 19:49:06 +01:00

15 lines
413 B
HTML

{% load i18n %}
{% load duration %}
<div class="item">
<div class="cover">
<a href="{{ item.url }}">
<img src="{{ item.cover_image_url|default:default_cover_url|relative_uri }}"
alt="cover" />
</a>
</div>
<div>
{% with "_item_card_metadata_"|add:item.class_name|add:".html" as template %}
{% include template %}
{% endwith %}
</div>
</div>