From 24b4afc43de1dc33e647d685e2bb28130d9aadb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Mon, 6 Nov 2023 08:15:20 +0100 Subject: [PATCH] fix(examples): apply correctly `.header-minimized` to the Navbars example (#2354) Co-authored-by: Louis-Maxime Piton --- site/content/docs/5.3/examples/navbars/index.html | 4 ++-- site/layouts/shortcodes/orange-global-headers.html | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/site/content/docs/5.3/examples/navbars/index.html b/site/content/docs/5.3/examples/navbars/index.html index 24c2787972..f36142a0af 100644 --- a/site/content/docs/5.3/examples/navbars/index.html +++ b/site/content/docs/5.3/examples/navbars/index.html @@ -27,8 +27,8 @@

Navbars Boosted example

-
- {{< orange-global-headers id="global-header-0" mode="actions" minimized=true aria_label="Global navigation - Minimized without title example" >}} +
+ {{< orange-global-headers id="global-header-0" mode="actions" aria_label="Global navigation - Minimized without title example" >}} {{< /orange-global-headers >}}
diff --git a/site/layouts/shortcodes/orange-global-headers.html b/site/layouts/shortcodes/orange-global-headers.html index e083514731..4bf1c93da2 100644 --- a/site/layouts/shortcodes/orange-global-headers.html +++ b/site/layouts/shortcodes/orange-global-headers.html @@ -10,7 +10,6 @@ * demo: if the global shortcode is called from the documentation (default: false) * labels: use generic labels instead of real-life labels (default: false) * labels_end: justify labels at the end (default: false) - * minimized: display a minimized global header (default: false) * navigation: add a navigation bar under the global header (default: false) * supra: if the global header is used with a supra bar (default: false) * aria_label: set the aria-label for the current global header @@ -24,13 +23,12 @@ {{- $demo := .Get "demo" | default false -}} {{- $labels := .Get "labels" | default false -}} {{- $labels_end := .Get "labels_end" | default false -}} -{{- $minimized := .Get "minimized" | default false -}} {{- $navigation := .Get "navigation" | default false -}} {{- $supra := .Get "supra" | default false -}} {{- $aria_label := .Get "aria_label"}} {{- $input := .Inner -}} -