From 4411528b9ddfe7985fc4f82bdc7ce61ace6dcd57 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Mon, 14 Apr 2025 22:31:59 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Ajout=20du=20support=20de=20highlig?= =?UTF-8?q?ht=20arbitraire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _includes/layouts/layout.njk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_includes/layouts/layout.njk b/_includes/layouts/layout.njk index 3fa3642..90504e0 100644 --- a/_includes/layouts/layout.njk +++ b/_includes/layouts/layout.njk @@ -50,6 +50,10 @@ {%- else -%} {% if entry.key == eleventyNavigation.parent %} {% set isActive = true %} + {%- else -%} + {% if entry.key == highlight %} + {% set isActive = true %} + {% endif %} {% endif %} {% endif %} {{ entry.title }}