diff --git a/src/librustdoc/html/templates/page.html b/src/librustdoc/html/templates/page.html
index 8e25f6764a9..7caffeae3d6 100644
--- a/src/librustdoc/html/templates/page.html
+++ b/src/librustdoc/html/templates/page.html
@@ -13,13 +13,13 @@
{#- -#}
{#- -#}
{#- -#}
- {#- -#}
- {#- -#}
{%- for theme in themes -%}
- {#- -#}
{#- -#}
{%- if layout.css_file_extension.is_some() -%}
- {#- -#}
{%- endif -%}
{%- if !layout.favicon.is_empty() -%}