#{{ i.position }}
{{ i.item_type }}
{{ i.title or '' }}
{% if i.item_type in ['image','video'] %}
File: {{ i.file_path }}
{% else %}
URL: {{ i.url }}
{% endif %}
· Duration: {{ i.duration_seconds }}s
{% if i.item_type == 'image' and i.file_path %}
 }})
{% elif i.item_type == 'video' and i.file_path %}
{% elif i.item_type == 'webpage' and i.url %}
{% else %}
No preview available.
{% endif %}