{% load i18n %}
{% if allow_embed and item.get_embed_link %}
{{ item.title }}
{% if not hide_category %}[{{ item.category.label }}]{% endif %}
{% for res in item.external_resources.all %}
{{ res.site_label }}
{% endfor %}
{% else %}
{% with "_item_card_metadata_"|add:item.class_name|add:".html" as template %}
{% include template %}
{% endwith %}