From 106d8690a301c287122c912ae5884e46709f8574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Tue, 19 Dec 2023 15:41:41 +0100 Subject: [PATCH] Dark mode: drop bottom-right theme selector for Download page and Form examples --- site/content/docs/5.3/examples/download-app/index.html | 1 + site/content/docs/5.3/examples/form/index.html | 1 + site/layouts/_default/examples.html | 2 ++ 3 files changed, 4 insertions(+) diff --git a/site/content/docs/5.3/examples/download-app/index.html b/site/content/docs/5.3/examples/download-app/index.html index 33fac9a5a9..4d3b45beb4 100644 --- a/site/content/docs/5.3/examples/download-app/index.html +++ b/site/content/docs/5.3/examples/download-app/index.html @@ -1,6 +1,7 @@ --- layout: examples title: Download app +theme_selector: false extra_css: - "download-app.css" extra_js: diff --git a/site/content/docs/5.3/examples/form/index.html b/site/content/docs/5.3/examples/form/index.html index ee973d8114..0616de9cfe 100644 --- a/site/content/docs/5.3/examples/form/index.html +++ b/site/content/docs/5.3/examples/form/index.html @@ -1,6 +1,7 @@ --- layout: examples title: Form example +theme_selector: false extra_js: - src: "form.js" aliases: diff --git a/site/layouts/_default/examples.html b/site/layouts/_default/examples.html index 81ef0cffbf..ab8acb7249 100644 --- a/site/layouts/_default/examples.html +++ b/site/layouts/_default/examples.html @@ -95,6 +95,7 @@ {{- end }} + {{ if ne .Page.Params.theme_selector false }} @@ -144,6 +145,7 @@ + {{- end -}} {{ .Content }}