We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70e1362 commit 5e83d28Copy full SHA for 5e83d28
templates/rustdoc/head.html
@@ -6,7 +6,9 @@
6
{%- let build_slug2 = slug::slugify(crate::BUILD_VERSION) -%}
7
{%- endif -%}
8
9
- <link rel="stylesheet" href="/-/static/{{rustdoc_css_file.as_ref().expect("rustdoc_css_file missing")}}?{{build_slug2}}" media="all" />
+ {%- if let Some(css_file) = rustdoc_css_file -%}
10
+ <link rel="stylesheet" href="/-/static/{{css_file}}?{{build_slug2}}" media="all" />
11
+ {%- endif -%}
12
<link rel="stylesheet" href="/-/static/font-awesome.css?{{build_slug2}}" media="all" />
13
14
<link rel="search" href="/-/static/opensearch.xml" type="application/opensearchdescription+xml" title="Docs.rs" />
0 commit comments