{% if pagename == master_doc %}
{# Custom landing page on the root of the documentation #}
diff --git a/extensions/odoo_theme/layout_templates/header.html b/extensions/odoo_theme/layout_templates/header.html
index 6c11dcafe..11bff777a 100644
--- a/extensions/odoo_theme/layout_templates/header.html
+++ b/extensions/odoo_theme/layout_templates/header.html
@@ -6,7 +6,7 @@
{% include "layout_templates/searchbox.html" %}
-
+
{#{% if alternate_languages %}#}
{% include "layout_templates/language_switcher.html" %}
{#{% endif %}#}
diff --git a/extensions/odoo_theme/layout_templates/language_switcher.html b/extensions/odoo_theme/layout_templates/language_switcher.html
index d26b063b2..dcbba4a0c 100644
--- a/extensions/odoo_theme/layout_templates/language_switcher.html
+++ b/extensions/odoo_theme/layout_templates/language_switcher.html
@@ -1,4 +1,4 @@
-
+
{% if alternate_languages|length > 0 %}