This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site.git
The following commit(s) were added to refs/heads/main by this push:
new 5ec19e638f Fixed theme select (#1382)
5ec19e638f is described below
commit 5ec19e638f8d279a0b67435c6bf9aacc7a20657d
Author: Shashiranjan singh <[email protected]>
AuthorDate: Sun Jan 11 03:37:42 2026 +0530
Fixed theme select (#1382)
---
landing-pages/site/layouts/partials/navbar.html | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/landing-pages/site/layouts/partials/navbar.html
b/landing-pages/site/layouts/partials/navbar.html
index 244a45bf7d..053d0cd1cc 100644
--- a/landing-pages/site/layouts/partials/navbar.html
+++ b/landing-pages/site/layouts/partials/navbar.html
@@ -27,11 +27,6 @@
</div>
<div class="desktop-only navbar__menu-container">
{{ template "menu-content" . }}
- {{ if .Site.Params.ui.showLightDarkModeMenu -}}
- <div class="navbar__theme-toggle">
- {{ partial "theme-toggler" . }}
- </div>
- {{ end -}}
</div>
<div class="no-desktop navbar__drawer-container">
{{ if .Site.Params.ui.showLightDarkModeMenu -}}
@@ -76,6 +71,11 @@
{{ $el.Name }}
</a>
{{ end }}
+ {{ if .Site.Params.ui.showLightDarkModeMenu -}}
+ <div class="navbar__theme-toggle">
+ {{ partial "theme-toggler" . }}
+ </div>
+ {{ end -}}
</div>
</div>
{{ end }}