1 2 3 4
<a href="{{ d.get_absolute_url }}" title="{{ d.name }}" class="img" style="background-image:url({{ im.url }});"> <p>Подробнее →</p> </a>