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

{# move nav into the header #}
{% block nav %}
{% endblock %}

{% block header-title %}
{{ block.super }}
  {% include 'includes/nav.html' %}
{% endblock %}

{% block before-main-content %}
{{ block.super }}
<header class="lso-page-header">
  {% if page.title and page.slug != 'index' %}
  <div class="lso-page-header--default">
    <h1>
      {{ page.title }}
    </h1>
  </div>
  {% endif %}
</header>
{% endblock %}

{% block footer-top %}
<div class="footer-logo">
  {% if sables_site_url %}<a href="{{ sables_site_url }}">{% endif %}
  <img src="{{site_base}}/assets/footer:logo" alt="Les Sables d'Olonne">
  {% if sables_site_url %}</a>{% endif %}
</div>
{% endblock %}


{% block footer-post %}
<div class="footer-post">
  {% placeholder "end" name="Fin de pied page" acquired=True %}
</div>
{% endblock %}
