From 3da2afd5ae5866b76d2813a7e512a5a9d8986b3f 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 adc87da09d..8736597475 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 0748462ec0..975fc6a1b6 100644 --- a/site/layouts/_default/examples.html +++ b/site/layouts/_default/examples.html @@ -99,6 +99,7 @@ {{- end }} + {{ if ne .Page.Params.theme_selector false }} @@ -148,6 +149,7 @@ + {{- end -}} {{ .Content }}