-
Notifications
You must be signed in to change notification settings - Fork 12
/
base.html
114 lines (99 loc) · 5.3 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!doctype html>
<html class="no-js">
<head>
{%- block site_meta -%}
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
{%- if metatags %}{{ metatags }}{% endif -%}
{%- block linktags %}
{%- if hasdoc('about') -%}
<link rel="author" title="{{ _('About these documents') }}" href="{{ pathto('about') }}" />
{%- endif -%}
{%- if hasdoc('genindex') -%}
<link rel="index" title="{{ _('Index') }}" href="{{ pathto('genindex') }}" />
{%- endif -%}
{%- if hasdoc('search') -%}
<link rel="search" title="{{ _('Search') }}" href="{{ pathto('search') }}" />
{%- endif -%}
{%- if hasdoc('copyright') -%}
<link rel="copyright" title="{{ _('Copyright') }}" href="{{ pathto('copyright') }}" />
{%- endif -%}
{%- if next -%}
<link rel="next" title="{{ next.title|striptags|e }}" href="{{ next.link|e }}" />
{%- endif -%}
{%- if prev -%}
<link rel="prev" title="{{ prev.title|striptags|e }}" href="{{ prev.link|e }}" />
{%- endif -%}
{%- endblock linktags %}
{# Favicon #}
<link rel="apple-touch-icon" sizes="57x57" href="https://medias.pluxml.org/favicon/green//apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="https://medias.pluxml.org/favicon/green//apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="https://medias.pluxml.org/favicon/green//apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="https://medias.pluxml.org/favicon/green//apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="https://medias.pluxml.org/favicon/green//apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="76x76" href="https://medias.pluxml.org/favicon/green//apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="144x144" href="https://medias.pluxml.org/favicon/green//apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="https://medias.pluxml.org/favicon/green//apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://medias.pluxml.org/favicon/green//apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="https://medias.pluxml.org/favicon/green//android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://medias.pluxml.org/favicon/green//favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="https://medias.pluxml.org/favicon/green//favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://medias.pluxml.org/favicon/green//favicon-16x16.png">
<link rel="manifest" href="https://medias.pluxml.org/favicon/green/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="https://medias.pluxml.org/favicon/green/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
{#- Generator banner -#}
<meta name="generator" content="sphinx-{{ sphinx_version }}, furo {{ furo_version }}"/>
{%- endblock site_meta -%}
{#- Site title -#}
{%- block htmltitle -%}
{% if pagename == master_doc %}
<title>{{ _("Home") }} - {{ docstitle|striptags|e }}</title>
{% else %}
<title>{{ title|striptags|e }} - {{ docstitle|striptags|e }}</title>
{% endif %}
{%- endblock -%}
{%- block styles -%}
{#- Theme-related stylesheets -#}
{%- block theme_styles -%}
<link rel="stylesheet" href="{{ furo_asset_hash(pathto('_static/' + style, 1)) | e }}">
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}">
<link media="(prefers-color-scheme: dark)" rel="stylesheet" href="{{ pathto('_static/pygments_dark.css', 1) }}">
{% include "partials/_head_css_variables.html" with context %}
{%- endblock -%}
{# Custom stylesheets #}
{%- block regular_styles -%}
{%- for path in css_files -%}
{% if not path.filename.startswith("pygments_dark") -%}
{{ css_tag(path) }}
{%- endif %}
{% endfor -%}
{%- endblock regular_styles -%}
{%- block extra_styles -%}
<link rel="stylesheet" href="{{ furo_asset_hash(pathto('_static/styles/furo-extensions.css', 1)) }}">
{%- endblock -%}
{%- endblock styles -%}
{%- block scripts -%}
{# Custom JS #}
{%- block regular_scripts -%}
{# This is *exactly* how `basic` handles this file. #}
<script id="documentation_options" data-url_root="{{ pathto('', 1) }}" src="{{ pathto('_static/documentation_options.js', 1) }}"></script>
{% for path in script_files -%}
{{ js_tag(path) }}
{% endfor -%}
{%- endblock regular_scripts -%}
{# Theme-related JavaScript code #}
{%- block theme_scripts -%}
<script defer src="{{ furo_asset_hash(pathto('_static/scripts/main.js', 1)) }}"></script>
{%- endblock -%}
{%- endblock scripts -%}
{#- Custom front matter #}
{%- block extrahead -%}{%- endblock -%}
</head>
<body dir="{{ direction }}">
<div id="plxnav" data-title="Docs" data-logo="green" data-link="docs" style="height: 41px; background-color: #333; border-bottom: 2px solid #cdcdcd;"></div>
{% block body %}{% endblock %}
<script src="https://medias.pluxml.org/navigation/nav.js"></script>
</body>
</html>