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

{% block global_title %}
{% firstof global_title "Villeurbanne" %} {% 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 %}
    {% if meta_description %}
    <meta name="description" content="{{ meta_description }}" />
    {% endif %}
    {% if favicon %}
    <link rel="shortcut icon" href="{{site_base}}{% static "" %}{{favicon}}" />
    {% endif %}
    {% block extra_top_head %}
    {% endblock %}
    {{ media }}
    <link rel="stylesheet" type="text/css" href="{{site_base}}{% static 'villeurbanne-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 user-info %}
    {% include "user_info.html" %}
{% endblock %}

{% block site-content %}
<div id="main-content-wrapper">
  <div id="main-content">
    {% 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 %}
    <div id="content" class="gru-content">
      {% block content %}
      {% endblock %}
    </div>
  </div>
</div>
{% endblock %}

{% block tracking %}
    {% include "includes/tracking.html" %}
{% endblock %}
