- <a href="{{ cite.link }}" class="cite{% if cite.small %} cite-small{% endif %}">
- {% if cite.vip %}
- <p class='vip mono'><span>{{ cite.vip }} {% trans "recommends" %}:</span></p>
- {% endif %}
- <blockquote class="cite-body">
- <span>{{ cite.text|linebreaksbr|safe }}</span>
- </blockquote>
- {% if cite.book %}
- <p class="source mono"><span>{{ cite.book.pretty_title }}</span></p>
+ <a href="{{ cite.link }}" {% if not cite.banner %}class="cite{% if cite.small %} cite-small{% endif %}{% endif %}">
+ {% if cite.banner %}
+ <img src="{{ cite.image.url }}" width="100%"/>
+ {% else %}
+ {% if cite.vip %}
+ <p class='vip mono'><span>{{ cite.vip }} {% trans "recommends" %}:</span></p>
+ {% endif %}
+ <blockquote class="cite-body">
+ <span>{{ cite.text|linebreaksbr|safe }}</span>
+ </blockquote>
+ {% if cite.book %}
+ <p class="source mono"><span>{{ cite.book.pretty_title }}</span></p>
+ {% endif %}