{% load assets %}
{% get_asset cell=cell type='picture' as asset %}
{% if asset.asset.url %}
<a class="big-image-link" href="{{url}}" style="background-image: url({{asset.asset.url}})"
   {% if "target-blank" in cell.extra_css_class %}title="{{ title }} (nouvelle fenêtre)" rel="noopener" target="_blank"{% endif %}>
 <div>
   <strong>{{ title }}</strong>
   {% if cell.link_page.description %}<p>{{ cell.link_page.description }}</p>{% endif %}
 </div>
</a>
{% elif cell.link_page and cell.link_page.picture %}
<a class="big-image-link" href="{{url}}" style="background-image: url({{cell.link_page.picture.url}})"
   {% if "target-blank" in cell.extra_css_class %}title="{{ title }} (nouvelle fenêtre)" rel="noopener" target="_blank"{% endif %}>
 <div>
   <strong>{{ title }}</strong>
   <p>{{ cell.link_page.description }}</p>
 </div>
</a>
{% else %}
<div class="links-list">
  <ul><li><a href="{{url}}"
   {% if "target-blank" in cell.extra_css_class %}title="{{ title }} (nouvelle fenêtre)" rel="noopener" target="_blank"{% endif %}>{{title}}</a></li></ul>
</div>
{% endif %}
