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

{# move nav inside header-content block and add theme-title #}
{% block header-content %}
  {% block nav %}{% endblock %}
  {{ block.super }}
{% endblock %}
{% block header-post %}
  <div class="page-width">
    <h1 class="theme-plateforme-title">
      {% firstof plateforme_title 'Montpellier au quotidien' %}
    </h1>
  </div>
{% endblock %}
{% block after-header %}
{% endblock %}

{# page title #}
{% block content-pre %}
  <header class="theme-page-title--wrapper">
    {% skeleton_extra_placeholder default-page-title %}
    {% firstof custom_page_title page.title view.title title as theme_page_title %}
    {% if theme_page_title %}
      <h1 class="theme-page-title">
        {% block default-page-title-content %}{{ theme_page_title }}{% endblock %}
      </h1>
    {% endif %}
{% end_skeleton_extra_placeholder %}
</header>
{% endblock %}
