X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibrustdoc%2Fhtml%2Ftemplates%2Fpage.html;fp=src%2Flibrustdoc%2Fhtml%2Ftemplates%2Fpage.html;h=0b49234e9dffef7df6a248fd97b37912138c59bd;hb=643d8e99668452669cc918defa555d372f57db5e;hp=fddda293b9a86d98cf300cb1ebc672ae80fe1df3;hpb=fba9f33c7c9b6b439aabba2625102c818e1b24ed;p=rust.git diff --git a/src/librustdoc/html/templates/page.html b/src/librustdoc/html/templates/page.html index fddda293b9a..0b49234e9df 100644 --- a/src/librustdoc/html/templates/page.html +++ b/src/librustdoc/html/templates/page.html @@ -24,11 +24,13 @@ {%- for theme in themes -%} {#- -#} {%- endfor -%} + {%- if !layout.default_settings.is_empty() -%} {#- -#} + {%- endif -%} {#- -#} {%- if page.css_class.contains("crate") -%} {#- -#}