From 77bc1e5fa41d4ba1607e7a79b52c7088b6d414df Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Wed, 18 Mar 2026 22:15:21 +0100 Subject: [PATCH] =?UTF-8?q?Am=C3=A9lioration=20et=20simplification=20du=20?= =?UTF-8?q?fil=20d'Ariane,=20encore.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/style.scss | 11 +++-------- layouts/_partials/breadcrumb.html | 6 +++--- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/assets/style.scss b/assets/style.scss index acb28e8..2a62375 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -92,25 +92,20 @@ a:active { //display: inline; ol { - //display: inline; display: flex; - margin: 0; padding: 0; } li { display: flex; - margin: 0; - padding: 0; } - li:not(:last-child)::after { + li:not(:first-child)::before { content: "/"; } - a { - margin: 0; - padding: 0; + li.file { + opacity: 0; } } diff --git a/layouts/_partials/breadcrumb.html b/layouts/_partials/breadcrumb.html index 4a6780c..46b3ffa 100644 --- a/layouts/_partials/breadcrumb.html +++ b/layouts/_partials/breadcrumb.html @@ -4,11 +4,11 @@
    {{ range .Ancestors.Reverse }}
  1. - {{ .LinkTitle }} + {{ .LinkTitle }}
  2. {{ end }} -
  3. - {{ .LinkTitle }} +
  4. + {{ .LinkTitle }}