{% extends "combo/page_template.html" %}
{% load static %}
{% load assets %}

{% block before-main-content %}
  {{ block.super }}
  <header class="theme-page-header">{% spaceless %}
    {% placeholder "page-header" name="En-tête de la page" acquired=False optional=True %}
  {% endspaceless %}</header>

  {% get_asset "banner-city-watermark:logo" as city_asset %}
  {% if city_asset %}
    <div class="theme-member-watermark">
      <span class="theme-member-watermark--label">
        Une commune de
      </span>
      <img class="theme-member-watermark--logo" src="{{portal_url}}{% asset_url city_asset %}"></img>
    </div>
  {% endif %}

  {% get_asset "banner-conurbation-watermark:logo" as conurbation_asset %}
  {% if conurbation_asset %}
    <img class="theme-conurbation-watermark" src="{{portal_url}}{% asset_url conurbation_asset %}"></img>
  {% endif %}
{% endblock %}
