-
Notifications
You must be signed in to change notification settings - Fork 211
/
Copy pathbase.html
38 lines (27 loc) · 1.62 KB
/
base.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{%- import "macros.html" as macros -%}
<!DOCTYPE html> {#- -#}
<html lang="en"> {#- -#}
<head> {#- -#}
<meta charset="UTF-8"> {#- -#}
<meta name="viewport" content="width=device-width, initial-scale=1"> {#- -#}
<meta name="generator" content="docs.rs {{ docsrs_version() }}"> {#- #}
{%- block meta -%}{%- endblock meta -%}
{# Docs.rs styles -#}
<link rel="stylesheet" href="/-/static/vendored.css?{{ docsrs_version() | slugify }}" media="all" /> {#- -#}
<link rel="stylesheet" href="/-/static/style.css?{{ docsrs_version() | slugify }}" media="all" /> {#- -#}
<link rel="search" href="/-/static/opensearch.xml" type="application/opensearchdescription+xml" title="Docs.rs" /> {#- -#}
<title>{%- block title -%} Docs.rs {%- endblock title -%}</title> {#- -#}
<script nonce="{{ csp_nonce }}">{%- include "theme.js" -%}</script> {#- #}
{%- block css -%}{%- endblock css -%}
<script defer type="text/javascript" nonce="{{ csp_nonce }}" src="/-/static/menu.js?{{ docsrs_version() | slugify }}"></script> {#- -#}
<script defer type="text/javascript" nonce="{{ csp_nonce }}" src="/-/static/index.js?{{ docsrs_version() | slugify }}"></script> {#- -#}
</head> {#- -#}
<body class="{% block body_classes %}{% endblock body_classes %}"> {#- -#}
{%- block topbar -%}
{%- include "header/topbar.html" -%}
{%- endblock topbar -%}
{%- block header %}{% endblock header -%}
{%- block body -%}{%- endblock body -%}
{%- block javascript -%}{%- endblock javascript -%}
</body> {#- -#}
</html>