{% extends 'theme.html' %}
{% load static %}

{# move nav inside header-content block #}
{% block header-content %}
  {{ block.super }}
  {% block nav %}{% endblock %}
{% endblock %}
{% block after-header %}{% endblock %}

{# page title #}
{% block content-pre %}
  <header class="cd06-page-title--wrapper">
    {% placeholder "custom-page-title" name="Titre personnalisé de la page" %}
    {% skeleton_extra_placeholder default-page-title %}
    {% firstof page.title view.title as cd06_page_title %}
    {% if cd06_page_title %}
      <h1 class="cd06-page-title--default">
        {{ cd06_page_title }}
      </h1>
    {% endif %}
{% end_skeleton_extra_placeholder %}
</header>
{% endblock %}
