File tree 1 file changed +2
-0
lines changed
src/librustdoc/html/templates
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 6
6
< meta name ="generator " content ="rustdoc "> {# #}
7
7
< meta name ="description " content ="{{page.description}} "> {# #}
8
8
< title > {{page.title}}</ title > {# #}
9
+ < script > if ( window . location . protocol !== "file:" ) document . write ( ` {# Hack to skip preloading fonts locally - see #98769 #}
9
10
<link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}{{files.source_serif_4_regular}}"> {# #}
10
11
<link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}{{files.fira_sans_regular}}"> {# #}
11
12
<link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}{{files.fira_sans_medium}}"> {# #}
12
13
<link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}{{files.source_code_pro_regular}}"> {# #}
13
14
<link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}{{files.source_code_pro_semibold}}"> {# #}
15
+ ` ) </ script > {# #}
14
16
< link rel ="stylesheet " {#+ #}
15
17
href ="{{static_root_path|safe}}{{files.normalize_css}} "> {# #}
16
18
< link rel ="stylesheet " {#+ #}
You can’t perform that action at this time.
0 commit comments