{% load gadjo static staticfiles %}

{% with commune_card|get:'home_path' as commune_home_path %}
<h1 id="custom-logo" class="custom-logo">
  <a accesskey="1" href="{% firstof portal_url|add:commune_home_path logo_link_url portal_url '/' %}">
    <img src="{{portal_url}}assets/commune:logo:{{commune_card|get:'code'}}" alt="{{ commune_card|get:'nom' }}">
  </a>
</h1>
{% endwith %}
