{% load thumbnail %}
<h1>Références</h1>

<div class="references">

{% for e in json.data|dictsort:'client' %}

<div class="references-item">

<div class="references-item-image">
    {% thumbnail e.logo "160x160" as im %}
    <img src="{{ im.url }}">
    {% endthumbnail %}
</div>

<div class="references-item-content">
  <h3> {{ e.client }}</h3>
  <strong>{{ e.title }}</strong>
  <p>{{ e.description  }}</p>
  {% if e.url %}<p>Site&nbsp;: <a href="{{ e.url }}">{{ e.url }}</a>{% endif %}
</div>

</div>

{% endfor %}

</div>
