{% extends 'base-theme.html' %}
{% load gadjo i18n static combo %}

{% block global_title %}
{% firstof global_title "Hautes-Alpes le département" %} {% block title %}{% endblock %}
{% endblock %}

{% block head %}
    {% if meta_robots %}
    <meta name="robots" content="{{ meta_robots }}" />
    {% elif environment_label %}
    <meta name="robots" content="noindex, nofollow, noarchive, nosnippet, notranslate, noimageindex" />
    {% endif %}
    {% block extra_top_head %}
    {% endblock %}
    {{ media }}
    <link rel="stylesheet" type="text/css" href="{{site_base}}{% static 'hautes-alpes-2018/style.css' %}?{% start_timestamp %}">
    {% block extra_css %}
    {% endblock %}
    {% block extra_scripts %}
    {% endblock %}
{% endblock %}

{% block bodyargs %}class="touch-ok {% block bodyclasses %}{% endblock %}" {% block bodyattrs %}{% endblock %}{% endblock %}

{% block nav %}
<nav>
<div id="nav" class="gru-nav">
{% block menu %}
{% endblock %}
</div>
<div class="user-nav">
{% block user-info %}
{% endblock %}
</div>
</nav>
{% endblock %}

{% block messages %}
{% if messages %}
<div id="messages">
  <ul class="messages">
      {% for message in messages %}
      <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
      {% endfor %}
  </ul>
</div>
{% endif %}
{% endblock %}

{% block local-content-wrapper %}
<div id="main-content-wrapper">
  <div id="main-content">
    <div id="content" class="gru-content">
      {% block content %}
      {% endblock %}
    </div>
  </div>
{% endblock %}

{% block local-body-bottom %}
  {% if environment_label %}<span id="environment-label">{{ environment_label }}</span>{% endif %}
  <a style="display: none" href="#" accesskey="t">Retour en haut de page</a>
  {% include "includes/tracking.html" %}
{% endblock %}
