Fix invalid HTML DIV tag used in HEAD

This commit is contained in:
Guillaume Gomez 2023-06-27 14:33:04 +02:00
parent 95978b302c
commit b8e4c54ffb

View File

@ -24,7 +24,7 @@
{% endfor %} {% endfor %}
></script> {# #} ></script> {# #}
{% endif %} {% endif %}
<div id="rustdoc-vars" {#+ #} <meta id="rustdoc-vars" {#+ #}
data-root-path="{{page.root_path|safe}}" {#+ #} data-root-path="{{page.root_path|safe}}" {#+ #}
data-static-root-path="{{static_root_path|safe}}" {#+ #} data-static-root-path="{{static_root_path|safe}}" {#+ #}
data-current-crate="{{layout.krate}}" {#+ #} data-current-crate="{{layout.krate}}" {#+ #}
@ -39,7 +39,6 @@
data-theme-dark-css="{{files.theme_dark_css}}" {#+ #} data-theme-dark-css="{{files.theme_dark_css}}" {#+ #}
data-theme-ayu-css="{{files.theme_ayu_css}}" {#+ #} data-theme-ayu-css="{{files.theme_ayu_css}}" {#+ #}
> {# #} > {# #}
</div> {# #}
<script src="{{static_root_path|safe}}{{files.storage_js}}"></script> {# #} <script src="{{static_root_path|safe}}{{files.storage_js}}"></script> {# #}
{% if page.css_class.contains("crate") %} {% if page.css_class.contains("crate") %}
<script defer src="{{page.root_path|safe}}crates{{page.resource_suffix}}.js"></script> {# #} <script defer src="{{page.root_path|safe}}crates{{page.resource_suffix}}.js"></script> {# #}