<header>
  <div id="mobile-menu">
      <div id="nav-button" class="fa fa-bars fa-2x button"></div>
  </div>
  <section id="logo"><a href="/" class="express">Express</a>
  </section>
  <div id="navbar">
      <input id="q" placeholder="🔎 search">
      <ul id="navmenu">
          <li><a href="/{{ page.lang }}/" id="home-menu"{% if page.menu == 'home' %} class="active"{% endif %}>Accueil</a></li>
          <li id="getting-started-menu" class="submenu">
                  <a href="/{{ page.lang }}/starter/installing.html"{% if page.menu == 'starter' %} class="active"{% endif %}>Mise en route</a>
                      <ul class="submenu-content">
                          <li>
                            <a href="/{{ page.lang }}/starter/installing.html">
                              Installation
                            </a>
                          </li>
                          <li>
                            <a href="/{{ page.lang }}/starter/hello-world.html">
                              Hello world
                            </a>
                          </li>
                          <li>
                          <a href="/{{ page.lang }}/starter/generator.html">
                            Générateur Express
                          </a>
                          </li>
                          <li>
                            <a href="/{{ page.lang }}/starter/basic-routing.html">
                              Routage de base
                            </a>
                          </li>
                          <li>
                            <a href="/{{ page.lang }}/starter/static-files.html">
                              Fichiers statiques
                            </a>
                          </li>
                          <li>
                            <a href="/{{ page.lang }}/starter/faq.html">
                              FAQ
                            </a>
                          </li>
                      </ul>
          </li>
          <li id="guide-menu" class="submenu">
                  <a href="/{{ page.lang }}/guide/routing.html"{% if page.menu == 'guide' %} class="active"{% endif %}>Guide</a>
                      <ul class="submenu-content">
                          <li><a href="/{{ page.lang }}/guide/routing.html">Routage</a>
                          </li>
                          <li><a href="/{{ page.lang }}/guide/writing-middleware.html">Ecriture de middleware</a>
                          </li>
                          <li><a href="/{{ page.lang }}/guide/using-middleware.html">Utilisation de middleware</a>
                          </li>
                          <li><a href="/{{ page.lang }}/guide/using-template-engines.html">Utilisation de moteurs de modèles</a>
                          </li>
                          <li><a href="/{{ page.lang }}/guide/error-handling.html">Traitement d'erreurs</a>
                          </li>
                          <li><a href="/{{ page.lang }}/guide/debugging.html">Débogage</a>
                          </li>
                          <li><a href="/{{ page.lang }}/guide/behind-proxies.html">Express derrière Proxys</a>
                          </li>
                          <li><a href="/{{ page.lang }}/guide/migrating-4.html">Migration vers Express 4</a>
                          </li>
                          <li><a href="/{{ page.lang }}/guide/migrating-5.html">Migration vers Express 5</a>
                          </li>
                          <li><a href="/{{ page.lang }}/guide/database-integration.html">Intégration de bases de données</a>
                          </li>
                      </ul>
          </li>
          <li id="application-menu" class="submenu">
                  <a href="/{{ page.lang }}/5x/api.html"{% if page.menu == 'api' %} class="active"{% endif %}>Référence de l'API</a>
                      <ul class="submenu-content">
                          <li><a href="/{{ page.lang }}/5x/api.html">5.x</a>
                          </li>
                          <li><a href="/{{ page.lang }}/4x/api.html">4.x</a>
                          </li>
                          <li><a href="/{{ page.lang }}/3x/api.html">3.x (obsolète)</a>
                          </li>
                          <li><a href="/2x/">2.x (obsolète)</a>
                          </li>
                      </ul>
          </li>
          <li id="advanced-topics-menu" class="submenu">
                  <a href="/{{ page.lang }}/advanced/developing-template-engines.html"{% if page.menu == 'advanced' %} class="active"{% endif %}>Rubriques avancées</a>
                      <ul class="submenu-content">
                          <li><a href="/{{ page.lang }}/advanced/developing-template-engines.html">Moteurs de modèles</a>
                          </li>
                          <li><a href="/{{ page.lang }}/advanced/security-updates.html">Mises à jour de sécurité</a>
                          </li>
                          <li><a href="/{{ page.lang }}/advanced/best-practice-security.html">Meilleures pratiques en termes de sécurité</a>
                          </li>
                          <li><a href="/{{ page.lang }}/advanced/best-practice-performance.html">Meilleures pratiques en termes de performances</a>
                          </li>

                      </ul>
          </li>
          <li id="resources-menu" class="submenu">
                  <a href="/{{ page.lang }}/resources/glossary.html"{% if page.menu == 'resources' %} class="active"{% endif %}>Ressources</a>
                      <ul class="submenu-content">
                          <li><a href="/{{ page.lang }}/resources/glossary.html">Glossaire</a>
                          </li>
                          <li><a href="/{{ page.lang }}/resources/middleware.html">Middleware</a>
                          </li>
                          <li><a href="/{{ page.lang }}/resources/community.html">Communauté</a>
                          </li>
                      </ul>
          </li>
      </ul>
  </div>
  <div id="theme-icon-container" class="theme-toggle default-theme" title="toggle darkmode">
    <i class="fa fa-moon-o fa-2x hidden-dark"></i>
      <span class="sun-icon hidden-light"></span>
  </div> 
</header>
