File tree 1 file changed +10
-10
lines changed
src/librustdoc/html/templates
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 20
20
> </ script > {#- -#}
21
21
< script src ="{{static_root_path | safe}}storage{{page.resource_suffix}}.js "> </ script > {#- -#}
22
22
< script src ="{{page.root_path | safe}}crates{{page.resource_suffix}}.js "> </ script > {#- -#}
23
+ < script defer src ="{{static_root_path | safe}}main{{page.resource_suffix}}.js "> </ script > {#- -#}
24
+ {%- for script in page.static_extra_scripts -%}
25
+ < script defer src ="{{static_root_path | safe}}{{script}}.js "> </ script > {#- -#}
26
+ {% endfor %}
27
+ {%- if layout.scrape_examples_extension -%}
28
+ < script defer src ="{{page.root_path | safe}}scrape-examples{{page.resource_suffix}}.js "> </ script > {#- -#}
29
+ {%- endif -%}
30
+ {%- for script in page.extra_scripts -%}
31
+ < script defer src ="{{page.root_path | safe}}{{script}}.js "> </ script > {#- -#}
32
+ {% endfor %}
23
33
< noscript > {#- -#}
24
34
< link rel ="stylesheet " {# -#}
25
35
href ="{{static_root_path | safe}}noscript{{page.resource_suffix}}.css "> {#- -#}
107
117
data-search-index-js ="{{page.root_path | safe}}search-index{{page.resource_suffix}}.js " {# -#}
108
118
data-search-js ="{{static_root_path | safe}}search{{page.resource_suffix}}.js "> {#- -#}
109
119
</ div >
110
- < script src ="{{static_root_path | safe}}main{{page.resource_suffix}}.js "> </ script > {#- -#}
111
- {%- for script in page.static_extra_scripts -%}
112
- < script src ="{{static_root_path | safe}}{{script}}.js "> </ script > {#- -#}
113
- {% endfor %}
114
- {%- if layout.scrape_examples_extension -%}
115
- < script src ="{{page.root_path | safe}}scrape-examples{{page.resource_suffix}}.js "> </ script > {#- -#}
116
- {%- endif -%}
117
- {%- for script in page.extra_scripts -%}
118
- < script src ="{{page.root_path | safe}}{{script}}.js "> </ script > {#- -#}
119
- {% endfor %}
120
120
</ body > {#- -#}
121
121
</ html > {#- -#}
You can’t perform that action at this time.
0 commit comments