diff --git a/landing-pages/site/layouts/partials/navbar.html b/landing-pages/site/layouts/partials/navbar.html
index 180cf1911eb..65be4dd2081 100644
--- a/landing-pages/site/layouts/partials/navbar.html
+++ b/landing-pages/site/layouts/partials/navbar.html
@@ -65,20 +65,7 @@
{{ end }}
{{ end }}
-
-
-
-
- {{ with index .Site.Menus.main (sub $menusLen 1) }}
+ {{ with index .Site.Menus.main (sub $menusLen 1) }}
{{ $url := urls.Parse .URL }}
{{ $baseurl := urls.Parse $.Site.Params.Baseurl }}
@@ -94,7 +81,6 @@
{{ if ne $url.Host $baseurl.Host }}target="_blank" {{ end }}>
{{ partial "buttons/button-filled" (dict "text" .Name) }}
- {{ end }}
-
+ {{ end }}
{{ end }}
diff --git a/sphinx_airflow_theme/sphinx_airflow_theme/header.html b/sphinx_airflow_theme/sphinx_airflow_theme/header.html
index 6c353a6bfb2..f8f1d645542 100644
--- a/sphinx_airflow_theme/sphinx_airflow_theme/header.html
+++ b/sphinx_airflow_theme/sphinx_airflow_theme/header.html
@@ -62,23 +62,9 @@
{% if not theme_hide_website_buttons %}
-
+
+
+
{% endif %}