pdnew/themes/default/templates/renderable/propagandapiece-inline-teas...

23 lines
526 B
HTML

{% extends 'default/templates/renderable/propagandapiece.html' %}
{% block content %}
{% if content.items_ordered|length and content.items_ordered[0].upload %}
{% set preview = content.items_ordered[0].upload %}
<img
src="{{ preview.url('raw') }}"
{% if preview.description %}
alt="{{ preview.description }}"
title="{{ preview.description }}"
{% endif %}
/>
{% endif %}
{% endblock %}
{% block footer %}
{% endblock %}