Revert "Migrate to Zola 0.23"

This reverts commit 4f7b33de1f.
This commit is contained in:
Pascal Engélibert committed 2026-10-21 15:44:45 +02:00
1 parent 3beb6c17cd
commit b8108c0ebc
16 files changed
+211 -231

No files matched your search

+3 -3
View File
@@ -1,4 +1,4 @@
{% set section_or_page = section | default(value = page) -%}
{% import "macros.html" as macros %}
<!doctype html>
<html lang="fr">
<head>
@@ -6,7 +6,7 @@
<title>{% block title %}{% endblock title %}</title>
<link type="text/plain" rel="author" href="/humans.txt"/>
<link rel="stylesheet" href="/css/base.css"/>
{% if section_or_page.extra.leaflet %}<link rel="stylesheet" href="/vendor/leaflet/leaflet.css"/>{% endif %}
{% if page.extra.leaflet or section.extra.leaflet %}<link rel="stylesheet" href="/vendor/leaflet/leaflet.css"/>{% endif %}
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"/>
<meta name="viewport" content="width=device-width"/>
<meta property="og:title" content="{% if page %}{{ page.title }}{% elif section %}{{ section.title }}{% endif %}"/>
@@ -88,6 +88,6 @@
</div>
</div>
</footer>
{% if section_or_page.extra.carousel %}<script type="text/javascript" src="/js/carousel.js"></script>{% endif %}
{% if page.extra.carousel or section.extra.carousel %}<script type="text/javascript" src="/js/carousel.js"></script>{% endif %}
</body>
</html>
View File
Whitespace-only changes.
-2
View File
@@ -1,5 +1,3 @@
{% component carousel(id) %}
<div id="{{ id | safe }}" class="carousel">
{{ body | markdown | safe }}
</div>
{% endcomponent carousel %}
-2
View File
@@ -1,5 +1,3 @@
{% component carousel_item(msg) %}
<div class="carousel-item">
{{ msg | safe }}
</div>
{% endcomponent carousel_item %}
-2
View File
@@ -1,4 +1,3 @@
{% component client_box(href, title, sign, img, img_dark="") %}
<div class="client_box">
<div class="client_box-left">
<div class="client_box-left-row">
@@ -22,4 +21,3 @@
</p>
</div>
</div>
{% endcomponent client_box %}
-2
View File
@@ -1,4 +1,3 @@
{% component map() %}
<div id="map" class="nn"></div>
<script type="text/javascript" src="/vendor/leaflet/leaflet.js"></script>
<script type="text/javascript">
@@ -20,4 +19,3 @@
.bindPopup(popup);
}
</script>
{% endcomponent map %}
-2
View File
@@ -1,3 +1 @@
{% component need_box(title) %}
<div class="need_box"><span class="need_box-title">{{title|safe}}</span></div>
{% endcomponent need_box %}
-2
View File
@@ -1,3 +1 @@
{% component partner_box(url, title, img) %}
<a class="partner_box-link" href="{{url|safe}}" title="{{title}}"><img class="partner_box-img" src="{{img|safe}}" alt="{{title}}" loading="lazy"/></a>
{% endcomponent %}
-2
View File
@@ -1,4 +1,3 @@
{% component service_box(title, href, description="", img="") %}
<div class="service_box">
<a class="service_box-link" href="{{href|safe}}">
{% if img %}<div class="service_box-img_wrap"><img class="service_box-img" src="{{img|safe}}" alt="{{title}}" aria-hidden/></div>{% endif %}
@@ -6,4 +5,3 @@
<span class="service_box-description">{{description|safe}}</span>{% endif %}
</a>
</div>
{% endcomponent service_box %}
+1 -3
View File
@@ -1,8 +1,6 @@
{% component square_box(title) %}
<div class="square_box">
<div class="square_box-inner square_box-inner-bottom" onmouseenter="randomize_square_box(this)">
<span class="square_box-title">{{ title | safe }}</span>
<p class="square_box-text">{{ body | safe }}</p>
<p class="square_box-text">{{ text | safe }}</p>
</div>
</div>
{% endcomponent square_box %}
-2
View File
@@ -1,4 +1,3 @@
{% component team_box(title, subtitle, img, place) %}
<div class="team_box">
<div class="team_box-top">
<img class="team_box-img" src="/img/team/{{img|safe}}" alt="{{title}}" loading="lazy" aria-hidden/>
@@ -20,4 +19,3 @@
</div>
{% endif %}
</div>
{% endcomponent team_box %}