{% extends "combo/page_template.html" %}

{% block msie_css_page_picture %}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .collectivity-header--default {
    background-image: url("{{site_base}}{{page.picture.url}}");
  }
}
{% endblock %}

{% block bodyclasses %}
	{{ block.super }}
	{% if not page.exclude_from_navigation and page.parent is None  %}
		show-navigation
	{% else %}
		hide-navigation
	{% endif %}
{% endblock %}

{% block content-pre %}
<div class="community-header desktop-only">
	{% placeholder "hero-page" name="Image de la Page" %}
	<div class="community-header--default">
		<img class="community-header--logo" src="{{portal_url}}assets/logo:{{ collectivite|slugify }}" alt="logo {{ collectivite }}">
	</div>
</div>
{% endblock %}

{% block header-title-content %}
	<span>
		<span class="sr-only">ICI</span>
		{% firstof global_title site_title "Compte Citoyen" %}
	</span>
	<span class="site-header--community">
		{{ collectivite }}
	</span>
{% endblock %}

{% block columns-top %}
<div class="top-column">
	{% placeholder "columns-top" name="Entête de la Page" %}
</div>
{% endblock %}
