website/templates/base.html

90 lines
4.1 KiB
HTML
Raw Permalink Normal View History

2022-09-26 07:46:56 +02:00
{% import "macros.html" as macros %}
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8"/>
<title>{% block title %}{% endblock title %}</title>
2024-04-27 14:23:01 +02:00
<link type="text/plain" rel="author" href="/humans.txt"/>
2022-09-26 07:46:56 +02:00
<link rel="stylesheet" href="/css/base.css"/>
2023-04-26 11:24:49 +02:00
{% if page.extra.leaflet or section.extra.leaflet %}<link rel="stylesheet" href="/vendor/leaflet/leaflet.css"/>{% endif %}
2022-09-26 07:46:56 +02:00
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"/>
<meta name="viewport" content="width=device-width"/>
2023-10-17 10:27:27 +02:00
<meta property="og:title" content="{% if page %}{{ page.title }}{% elif section %}{{ section.title }}{% endif %}"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="{{ config.extra.public_url | safe }}{% if page %}{{ page.permalink | safe }}{% elif section %}{{section.permalink | safe }}{% endif %}"/>
2023-10-17 11:17:26 +02:00
<meta property="og:image" content="{{ config.extra.public_url | safe }}/img/drawings/accueil_fond_blanc.webp"/>
2023-07-31 11:04:00 +02:00
{% if get_env(name="LIBREZO_WEBSITE", default="prod") == "dev" %}<meta name="robots" content="noindex,nofollow"/>{% endif %}
2022-09-26 07:46:56 +02:00
{% block head %}{% endblock head %}
</head>
<body>
2023-07-31 11:04:00 +02:00
{% if get_env(name="LIBREZO_WEBSITE", default="prod") == "dev" %}
2022-09-26 16:19:31 +02:00
<div id="dev-warning">
<p>
2023-04-15 09:55:10 +02:00
Version de développement. Pour le site officiel actuel, allez sur <a href="https://librezo.fr"><b>Librezo.fr</b></a>.
2022-09-26 16:19:31 +02:00
</p>
<a href="#" onclick="document.getElementById('dev-warning').remove()">fermer</a>
</div>
2023-07-31 11:04:00 +02:00
{% endif %}
2022-09-26 07:46:56 +02:00
<header>
2023-04-26 18:58:04 +02:00
<a href="/">
<picture>
2023-07-03 12:40:04 +02:00
<source srcset="/img/logo-stencil-white.svg" media="(prefers-color-scheme: dark)"/>
<source srcset="/img/logo-stencil-black.svg" media="(prefers-color-scheme: light)"/>
<img decoding="async" id="header-logo" src="/img/logo-stencil-black.svg" alt="Librezo" aria-hidden/>
2023-04-27 23:51:20 +02:00
</picture>
<h1 class="sr-only">Librezo</h1>
2023-04-26 18:58:04 +02:00
</a>
2022-09-26 07:46:56 +02:00
<nav id="header-menu">
<ul class="phone-hidden">
2023-05-27 15:32:08 +02:00
<li><a href="/fonctionnement/">Fonctionnement</a></li>
<li><a href="/services/">Services et tarifs</a></li>
<li><a href="/qui-sommes-nous/">Qui sommes-nous</a></li>
<li><a href="/charte/">Charte</a></li>
<li><a href="/contact/">Contact</a></li>
2023-05-26 17:59:46 +02:00
</ul>
<details class="phone-only hamburger-menu">
<summary aria-label="Menu" title="Menu">&#9776;</summary>
<ul class="header-menu-phone">
2023-05-27 15:32:08 +02:00
<li><a href="/fonctionnement/">Fonctionnement</a></li>
<li><a href="/services/">Services et tarifs</a></li>
<li><a href="/qui-sommes-nous/">Qui sommes-nous</a></li>
<li><a href="/charte/">Charte</a></li>
<li><a href="/contact/">Contact</a></li>
</ul>
</details>
2022-09-26 07:46:56 +02:00
</nav>
</header>
{% block body %}{% endblock body %}
2022-09-26 23:24:15 +02:00
<footer>
<div class="footer-wrapper">
<div class="footer-pane">
<a href="/contact" class="footer-bigger">Contactez-nous</a>
<ul>
2024-03-05 22:12:30 +01:00
<li><a href="mailto:bonjour@librezo.fr">bonjour chez librezo point fr</a></li>
2023-05-19 11:22:24 +02:00
<li><a href="/rejoignez-nous">Rejoignez-nous</a></li>
2022-09-26 23:24:15 +02:00
</ul>
2023-04-25 22:37:09 +02:00
</div>
<div class="footer-pane">
<ul>
<li><a href="/mentions-legales">Mentions légales</a></li>
<li><a href="/rgpd">RGPD</a></li>
2024-05-12 23:30:44 +02:00
<li><a href="/com/flyer.pdf">Flyer</a></li>
2023-04-25 22:37:09 +02:00
</ul>
<p>
2023-10-14 11:03:02 +02:00
<a href="https://git.librezo.fr/Librezo/website">Code source du site</a> sous licence <a href="http://creativecommons.org/licenses/by-sa/4.0/" target="_blank">CC BY-SA 4.0</a><br/>
2023-06-28 22:37:59 +02:00
Dessins de GRA, licence <a href="http://creativecommons.org/licenses/by-sa/4.0/" target="_blank">CC BY-SA 4.0</a><br/>
2023-09-28 21:42:43 +02:00
Site conçu par des êtres humains ;)
</p>
2022-09-26 23:24:15 +02:00
</div>
<div class="footer-pane">
<p>
Librezo propose une alternative aux services en ligne en favorisant l'auto-hébergement. Avec un accompagnement sur mesure et des <a href="/logiciel-libre">solutions logicielles libres</a> installées sur votre serveur, reprendre et garder le contrôle de vos données n'a jamais été aussi facile.
2022-09-26 23:24:15 +02:00
</p>
</div>
</div>
</footer>
2023-05-18 18:35:28 +02:00
{% if page.extra.carousel or section.extra.carousel %}<script type="text/javascript" src="/js/carousel.js"></script>{% endif %}
2022-09-26 07:46:56 +02:00
</body>
</html>