1 {% load i18n thumbnail %}
4 <li class="promobox-item{% if counter == 1 %} active{% endif %}"
6 {% if counter != 1 %}display: none;{% endif %}
8 background: url('{% thumbnail object.image "700x1000" as thumb %}{{ thumb.url }}{% empty %}{{ object.image.url }}{% endthumbnail %}');
10 background-position: 50% 50%;
16 <a class="promobox-link" href="{{ object.get_absolute_url }}">
19 <div class="promobox-info">
21 <h2>{{ object.title }}</h2>
24 {{ object.lead|striptags|truncatewords:8 }}