-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathlayout.html
More file actions
154 lines (135 loc) · 6.62 KB
/
layout.html
File metadata and controls
154 lines (135 loc) · 6.62 KB
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{# layout.html #}
<!DOCTYPE html>
<html class="no-js" lang="en" style="visibility: hidden;">
{% macro script() %}
<script type="text/javascript" src="{{ pathto('_static/js/runtime.bundle.js', 1) }}"></script>
<script type="text/javascript" src="{{ pathto('_static/js/main.bundle.js', 1) }}"></script>
{% for js in script_files %}
{% if not (exclude_doctools and 'doctools.js' in js_tag(js)) %}
{{ js_tag(js) }}
{% endif %}
{% endfor %}
{% endmacro %}
{% macro css() %}
{% if theme_search_engine|lower == 'expertrec' %}
<link rel="dns-prefetch" href="https://cse.expertrec.com">
{% endif %}
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="preload" as="style"
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap" />
<!-- async CSS -->
<link rel="stylesheet" media="print" onload="this.onload=null;this.removeAttribute('media');"
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap" />
<!-- no-JS fallback -->
<noscript>
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap" />
</noscript>
{% if theme_hide_ai_chatbot|lower != 'true' %}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/biel-search@latest/dist/biel-search/biel-search.css">
<script type="module" src="https://cdn.jsdelivr.net/npm/biel-search@latest/dist/biel-search/biel-search.esm.js"></script>
{% endif %}
{% for css in css_files %}
{% if css|attr("filename") %}
{{ css_tag(css) }}
{% else %}
<link rel="stylesheet" href="{{ pathto(css, 1) }}" type="text/css" />
{% endif %}
{% endfor %}
{% endmacro %}
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width initial-scale=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>
{% block title %} {{ title|striptags|e }} | ScyllaDB Docs {% endblock %}
</title>
<meta name="description" content="{{ theme_site_description }}" />
<link rel="icon" href="{{ pathto('_static/img/favicon.ico', 1) }}" type="image/x-icon" />
<link rel="icon" href="{{ pathto('_static/img/favicon-32x32.png', 1) }}" sizes="32x32" />
<link rel="icon" href="{{ pathto('_static/img/favicon-228x228.png', 1) }}" sizes="192x192" />
<link rel="apple-touch-icon" href="{{ pathto('_static/img/favicon-228x228.png', 1) }}" />
<meta name="msapplication-TileImage" href="{{ pathto('_static/img/favicon-228x228.png', 1) }}" />
{% if pagename == "index" %}
{% set canonical_page = "" %}
{% elif pagename.endswith("/index") %}
{% set canonical_page = pagename[:-("/index"|length)] + "/" %}
{% else %}
{% set ending = "/" if builder == "dirhtml" else ".html" %}
{% set canonical_page = pagename + ending %}
{% endif %}
{% if versions and latest_version %}
{% set latest_slug = rename_latest_version or latest_version.name %}
<link rel="canonical" href="{{ html_baseurl }}/{{latest_slug}}/{{ canonical_page }}"/>
{% else %}
<link rel="canonical" href="{{ html_baseurl }}/{{ canonical_page }}"/>
{% endif %}
<link rel="author" href="mailto:[email protected]" />
{% block css %}
{{ css() }}
{% endblock %}
{% block scripts %}
{{ script() }}
{% if theme_local_scripts|lower == 'true' %}
{% include 'local-scripts.html' %}
{% endif %}
{% if theme_scylladb_scripts|lower == 'true' %}
{% include 'scylladb-scripts.html' %}
{% endif %}
{% endblock %}
</head>
<body class="brand-{{ theme_brand }}">
{% include 'promo-banner.html' %}
{% include 'header.html'%}
<div class="title"></div>
<section
class="layout {{'layout--full-width' if full_width}} {{'layout--sidebar' if not hide_sidebar}} {{'layout--has-secondary-sidebar' if not hide_secondary_sidebar}} {{'landing landing--floating' if landing}}">
<div class="content large-order-2">
{% if not hide_pre_content %}
<div class="pre-content">
{% include 'breadcrumbs.html'%}
</div>
{% endif %}
{% if not hide_secondary_sidebar %}
<div class="sidebar-right-layout">
<div class="body-container">
{% endif %}
<div class="content-body"
{% if theme_hide_edit_this_page_button|lower == 'false' and theme_github_repository %}
data-view-source-url="https://github.com/{{ theme_github_repository }}/blob/{{ theme_default_branch }}/{{ theme_conf_py_path }}{{ pagename }}{{ page_source_suffix }}"
{% endif %}>
{% if not hide_version_warning %}
{% include 'version-warning.html'%}
{% endif %}
{{ body }}
</div>
{% if not hide_post_content %}
<div class="post-content">
{% include 'feedback.html'%}
{% include 'content-navigation.html'%}
{% include 'notice.html'%}
</div>
{% endif %}
{% if not hide_secondary_sidebar %}
</div>
<div class="sidebar-right large-order-3">
{% include 'secondary-side-nav.html' %}
</div>
</div>
{% endif %}
</div>
<div class="sidebar-left {{'hide-for-large' if hide_sidebar}} large-order-1">
{% if sidebars != None %}
{% for sidebartemplate in sidebars %}
{% include sidebartemplate %}
{% endfor %}
{% endif %}
</div>
</section>
{% include 'footer.html' %}
<noscript>
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-T8P2JP" height="0" width="0"
style="display: none; visibility: hidden"></iframe>
</noscript>
</body>
</html>