From a8dbe40d5088212d6df02bd38e8343714f8cbe7e Mon Sep 17 00:00:00 2001 From: David Blanc Brioir Date: Fri, 2 Jan 2026 00:00:24 +0100 Subject: [PATCH] refactor: Harmonisation police lignes 2 et 3 du header section MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Ligne 2 (hiérarchie) : police normale, pas de font-size - Ligne 3 (titre) : police normale, pas de font-size ni font-family spéciale - Changé h4 en span pour cohérence typographique - Gardé font-weight: 600 sur le titre pour légère emphase - Résultat : lignes 2 et 3 visuellement cohérentes --- generations/library_rag/templates/search.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/generations/library_rag/templates/search.html b/generations/library_rag/templates/search.html index 05bf1cd..cfa1366 100644 --- a/generations/library_rag/templates/search.html +++ b/generations/library_rag/templates/search.html @@ -198,14 +198,14 @@ {% if section.chunks and section.chunks[0].chapterTitle %}
- 🗂️ {{ section.chunks[0].chapterTitle }} + 🗂️ {{ section.chunks[0].chapterTitle }}
{% endif %} -
- 📂 -

{{ section.title[:120] }}{% if section.title|length > 120 %}...{% endif %}

+
+ 📂 + {{ section.title[:120] }}{% if section.title|length > 120 %}...{% endif %}
{% if section.summary_text and section.summary_text != section.title and section.summary_text != section.section_path %}

{{ section.summary_text[:250] }}{% if section.summary_text|length > 250 %}...{% endif %}