-
-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathbase.html
More file actions
263 lines (259 loc) · 9.38 KB
/
base.html
File metadata and controls
263 lines (259 loc) · 9.38 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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
<!doctype html>
<html
lang="{% block html_lang %}{{ DEFAULT_LANG }}{% endblock html_lang %}"
data-theme="light"
>
<head>
{% block head %}
<title>
{% block title %}{{ SITENAME|striptags }}{% endblock title %}
</title>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
{% block extra_meta %}{% endblock %}
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/theme.min.css?v=2" />
<link
rel="icon"
type="image/x-icon"
href="{{ SITEURL }}/theme/images/favicon.png"
/>
{% if SITESUBTITLE %}
<meta name="description" content="{{ SITESUBTITLE }}" />
{% endif %}
{% if STYLESHEET_URL %}
<link rel="stylesheet" type="text/css" href="{{ STYLESHEET_URL }}" />
{% endif %}
{% if FEED_ALL_ATOM %}
<link
href="{{ FEED_DOMAIN }}/{% if FEED_ALL_ATOM_URL %}{{ FEED_ALL_ATOM_URL }}{% else %}{{ FEED_ALL_ATOM }}{% endif %}"
type="application/atom+xml"
rel="alternate"
title="{{ SITENAME|striptags }} Full Atom Feed"
/>
{% endif %}
{% if FEED_ALL_RSS %}
<link
href="{{ FEED_DOMAIN }}/{% if FEED_ALL_RSS_URL %}{{ FEED_ALL_RSS_URL }}{% else %}{{ FEED_ALL_RSS }}{% endif %}"
type="application/rss+xml"
rel="alternate"
title="{{ SITENAME|striptags }} Full RSS Feed"
/>
{% endif %}
{% if FEED_ATOM %}
<link
href="{{ FEED_DOMAIN }}/{% if FEED_ATOM_URL %}{{ FEED_ATOM_URL }}{% else %}{{ FEED_ATOM }}{% endif %}"
type="application/atom+xml"
rel="alternate"
title="{{ SITENAME|striptags }} Atom Feed"
/>
{% endif %}
{% if FEED_RSS %}
<link
href="{{ FEED_DOMAIN }}/{% if FEED_RSS_URL %}{{ FEED_RSS_URL }}{% else %}{{ FEED_RSS }}{% endif %}"
type="application/rss+xml"
rel="alternate"
title="{{ SITENAME|striptags }} RSS Feed"
/>
{% endif %}
{% if CATEGORY_FEED_ATOM and category %}
<link
href="{{ FEED_DOMAIN }}/{% if CATEGORY_FEED_ATOM_URL %}{{ CATEGORY_FEED_ATOM_URL.format(slug=category.slug) }}{% else %}{{ CATEGORY_FEED_ATOM.format(slug=category.slug) }}{% endif %}"
type="application/atom+xml"
rel="alternate"
title="{{ SITENAME|striptags }} Categories Atom Feed"
/>
{% endif %}
{% if CATEGORY_FEED_RSS and category %}
<link
href="{{ FEED_DOMAIN }}/{% if CATEGORY_FEED_RSS_URL %}{{ CATEGORY_FEED_RSS_URL.format(slug=category.slug) }}{% else %}{{ CATEGORY_FEED_RSS.format(slug=category.slug) }}{% endif %}"
type="application/rss+xml"
rel="alternate"
title="{{ SITENAME|striptags }} Categories RSS Feed"
/>
{% endif %}
{% if TAG_FEED_ATOM and tag %}
<link
href="{{ FEED_DOMAIN }}/{% if TAG_FEED_ATOM_URL %}{{ TAG_FEED_ATOM_URL.format(slug=tag.slug) }}{% else %}{{ TAG_FEED_ATOM.format(slug=tag.slug) }}{% endif %}"
type="application/atom+xml"
rel="alternate"
title="{{ SITENAME|striptags }} Tags Atom Feed"
/>
{% endif %}
{% if TAG_FEED_RSS and tag %}
<link
href="{{ FEED_DOMAIN }}/{% if TAG_FEED_RSS_URL %}{{ TAG_FEED_RSS_URL.format(slug=tag.slug) }}{% else %}{{ TAG_FEED_RSS.format(slug=tag.slug) }}{% endif %}"
type="application/rss+xml"
rel="alternate"
title="{{ SITENAME|striptags }} Tags RSS Feed"
/>
{% endif %}
<meta name="generator" content="Pelican" />
{% endblock head %}
</head>
<body>
<header class="is-fullhd">
<nav class="navbar is-transparent container" id="header-nav">
<div class="navbar-brand">
{% include "includes/logo.html" %}
<div class="toggle-theme-container">
{% include "includes/toggle-theme.html" %}
</div>
<div
class="navbar-burger js-burger"
role="button"
aria-label="menu"
aria-expanded="false"
data-target="main-menu"
>
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</div>
<div id="main-menu" class="navbar-menu">
<div class="navbar-center">
{% for text, item in MENU.items() %}
{% if item is not mapping %}
<a
class="navbar-item{% if output_file == item %}is-active{% endif %}"
href="{% if not item.startswith("http") %}{{ SITEURL }}/{% endif %}{{ item }}"
>
{{ text }}
</a>
{% else %}
<div class="navbar-item has-dropdown is-hoverable">
<span
tabindex="0"
role="button"
class="navbar-link {% if output_file in item.values() %}is-active{% endif %}"
>{{ text }}</span
>
<div class="navbar-dropdown is-boxed">
{% for subtext, sublink in item.items() %}
<a
class="navbar-item {% if output_file == sublink %}is-active{% endif %}"
href="{{ SITEURL }}/{{ sublink }}"
>{{ subtext }}</a
>
{% endfor %}
</div>
</div>
{% endif %}
{% endfor %}
</div>
<div class="navbar-end">
<div class="navbar-item">
<div class="field is-grouped">
<p class="control">
{% include "includes/toggle-theme.html" %}
<a
class="button is-orange with-text"
href="{{ SITEURL }}/demo/"
>
<span class="fas fa-regular fa-circle-play"></span>
<span>Try the Demo</span>
</a>
</p>
</div>
</div>
</div>
</div>
</nav>
</header>
<main>{% block content %}{% endblock %}</main>
<footer class="footer">
<div class="container">
<div class="columns is-tablet">
<div class="column has-text-centered-mobile navbar-brand">
{% include "includes/logo.html" %}
<p class="social">
<a
href="https://www.linkedin.com/company/openwisp"
title="OpenWISP On LinkedIn"
target="_blank"
>
<span class="fas fa-brands fa-linkedin"></span>
</a>
<a
href="https://x.com/openwisp"
title="@OpenWISP on X.com"
target="_blank"
>
<span class="fas fa-brands fa-x-twitter"></span>
</a>
<a
href="https://facebook.com/openwisp"
title="OpenWISP on Facebook"
target="_blank"
>
<span class="fas fa-brands fa-facebook"></span>
</a>
<a
href="https://github.com/openwisp"
title="OpenWISP on Github"
target="_blank"
>
<span class="fas fa-brands fa-github"></span>
</a>
</p>
</div>
<div
class="column is-three-quarters-tablet has-text-right-tablet has-text-centered-mobile text"
>
<p>
© 2008 -
<span id="copyright-year">2025</span>
OpenWISP All Rights Reserved.
</p>
<p>
This website and its contents are maintained by
<span class="has-text-weight-semibold">openwisp OÜ</span>,<br
class="is-hidden-mobile"
/>
a company registered under the laws of the Republic of Estonia.<br />
<span class="has-text-weight-medium">Registry Code</span>:
14295507, <span class="has-text-weight-medium">EU VAT</span>:
EE101989729.
</p>
</div>
</div>
</div>
</footer>
<script src="{{ SITEURL }}/theme/js/theme.min.js?v=2" defer></script>
{% block scripts %}{% endblock %}
{% if MATOMO_SITE_ID %}
<!-- Matomo -->
<script>
var _paq = (window._paq = window._paq || []);
_paq.push(["disableCookies"]);
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);
(function () {
var u = "https://analytics.openwisp.io/";
_paq.push(["setTrackerUrl", u + "matomo.php"]);
_paq.push(["setSiteId", "{{ MATOMO_SITE_ID }}"]);
var d = document,
g = d.createElement("script"),
s = d.getElementsByTagName("script")[0];
g.async = true;
g.src = u + "matomo.js";
s.parentNode.insertBefore(g, s);
})();
</script>
<noscript
><p>
<img
referrerpolicy="no-referrer-when-downgrade"
src="https://analytics.openwisp.io/matomo.php?idsite={{ MATOMO_SITE_ID }}&rec=1"
style="border:0;"
alt=""
/></p
></noscript>
<!-- End Matomo Code -->
{% endif %}
</body>
</html>