4 <title>{{ hostname }} - {% block title %}{{ _(
"No title given") }}{% end block %}
</title>
5 <meta http-equiv=
"content-type" content=
"text/html; charset=utf-8" />
6 <meta name=
"author" content=
"IPFire.org - IPFire Development Team" />
8 <meta name=
"keywords" content=
"Linux, Firewall, IPFire, Security, IPCop, Open Source, Free, ARM, VPN, Proxy, IDS, IPS" />
10 <link rel=
"icon" sizes=
"192x192" href=
"{{ static_url("img/apple-touch-icon-
192x192-precomposed.png
") }}">
11 {% for res in (
"72x72",
"76x76",
"120x120",
"144x144",
"152x152",
"180x180") %}
12 <link rel=
"apple-touch-icon-precomposed" sizes=
"{{ res }}" href=
"{{ static_url("img/apple-touch-icon-%s-precomposed.png
" % res )}}">
14 <link rel=
"apple-touch-icon-precomposed" href=
"{{ static_url("img/apple-touch-icon-
60x60-precomposed.png
") }}">
16 <!-- styling stuff -->
17 <link rel=
"stylesheet" type=
"text/css" href=
"{{ static_url("main.css
") }}" />
18 <meta name=
"viewport" content=
"width=device-width, initial-scale=1.0">
20 {% block head %}{% end block %}
23 <body id=
"page-top" class=
"{{ hostname.replace(".
", "-
") }}">
24 <nav class=
"navbar navbar-light navbar-expand-lg">
25 <div class=
"container">
26 {% if hostname ==
"www.ipfire.org" and request.path.startswith(
"/blog") %}
27 <a class=
"navbar-brand" href=
"/blog">
28 IPFire
<span class=
"text-primary">_
</span>Blog
31 <a class=
"navbar-brand" href=
"/">
32 IPFire
<span class=
"text-primary">_
</span>
34 {% if hostname ==
"fireinfo.ipfire.org" %}
36 {% elif hostname ==
"location.ipfire.org" %}
38 {% elif hostname ==
"mirrors.ipfire.org" %}
40 {% elif hostname ==
"people.ipfire.org" %}
42 {% elif hostname ==
"wiki.ipfire.org" %}
49 {% if hostname ==
"www.ipfire.org" and request.path.startswith(
"/blog") %}
50 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
51 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
52 <span class=
"fas fa-bars"></span>
55 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
56 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
57 <span class=
"fas fa-bars"></span>
60 <div class=
"collapse navbar-collapse" id=
"navbar">
61 <ul class=
"navbar-nav ml-auto">
64 <a class=
"nav-link {% if request.path == "/blog/drafts
" %}active{% end %}" href=
"/blog/drafts">
71 <a class=
"nav-link {% if request.path == "/blog/tags/featured
" %}active{% end %}" href=
"/blog/tags/featured">
77 <form class=
"form-inline my-2 my-lg-0" action=
"/blog/search" method=
"GET">
78 <input class=
"form-control form-control-sm" type=
"search" name=
"q"
79 placeholder=
"{{ _("Search...
") }}" aria-label=
"{{ _("Search
") }}"
80 value=
"{% try %}{{ q }}{% except %}{% end %}">
83 <a class=
"btn btn-primary mt-2 mt-lg-0 ml-lg-2" href=
"/donate">
87 {% elif hostname in (
"www.ipfire.org",
"dev.ipfire.org") %}
88 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
89 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
90 <span class=
"fas fa-bars"></span>
93 <div class=
"collapse navbar-collapse" id=
"navbar">
94 <ul class=
"navbar-nav ml-auto">
95 <li class=
"nav-item d-sm-block d-md-block d-lg-none">
96 <a class=
"nav-link {% if request.path == "/
" %}active{% end %}" href=
"/">{{ _(
"Home") }}
</a>
100 <a class=
"nav-link {% if request.path == "/features
" %}active{% end %}" href=
"/features">{{ _(
"Features") }}
</a>
103 <li class=
"nav-item">
104 <a class=
"nav-link {% if request.path == "/support
" %}active{% end %}" href=
"/support">{{ _(
"Support") }}
</a>
107 <li class=
"nav-item">
108 <a class=
"nav-link" href=
"/blog">{{ _(
"Blog") }}
</a>
111 <li class=
"nav-item">
112 <a class=
"nav-link" href=
"https://community.ipfire.org/">{{ _(
"Community") }}
</a>
115 <li class=
"nav-item">
116 <a class=
"nav-link {% if request.path.startswith("/download
") %}active{% end %}" href=
"/download">{{ _(
"Download") }}
</a>
120 <a class=
"btn btn-primary mt-2 mt-lg-0 ml-lg-2" href=
"/donate">
124 <a class=
"btn btn-lwl mt-2 mt-lg-0 ml-lg-2" href=
"https://store.lightningwirelabs.com/">
128 {% elif hostname ==
"fireinfo.ipfire.org" %}
129 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
130 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
131 <span class=
"fas fa-bars"></span>
134 <div class=
"collapse navbar-collapse" id=
"navbar">
135 <ul class=
"navbar-nav ml-auto">
136 {% if current_user and current_user.is_staff() %}
137 <li class=
"nav-item">
138 <a class=
"nav-link {% if request.path.startswith("/admin
") %}active{% end %}" href=
"/admin">
144 <li class=
"nav-item">
145 <a class=
"nav-link {% if request.path.startswith("/vendors
") %}active{% end %}" href=
"/vendors">
151 {% elif hostname ==
"location.ipfire.org" %}
152 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
153 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
154 <span class=
"fas fa-bars"></span>
157 <div class=
"collapse navbar-collapse" id=
"navbar">
158 <ul class=
"navbar-nav ml-auto">
159 <li class=
"nav-item">
160 <a class=
"nav-link {% if request.path == "/how-to-use
" %}active{% end %}" href=
"/how-to-use">
161 {{ _(
"How To Use") }}
165 <li class=
"nav-item">
166 <a class=
"nav-link {% if request.path == "/download
" %}active{% end %}" href=
"/download">
172 <a class=
"btn btn-primary ml-lg-2" href=
"https://www.ipfire.org/donate">
176 {% elif hostname ==
"nopaste.ipfire.org" %}
177 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
178 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
179 <span class=
"fas fa-bars"></span>
182 <div class=
"collapse navbar-collapse" id=
"navbar">
183 <ul class=
"navbar-nav ml-auto">
184 <li class=
"nav-item">
185 <a class=
"nav-link" href=
"/?mode=upload">{{ _(
"Upload File") }}
</a>
189 {% elif hostname ==
"people.ipfire.org" %}
190 {% if current_user %}
191 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
192 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
193 <span class=
"fas fa-bars"></span>
196 <div class=
"collapse navbar-collapse" id=
"navbar">
197 <ul class=
"navbar-nav ml-auto mr-3">
198 <li class=
"nav-item">
199 <a class=
"nav-link {% if request.path == "/users/%s
" % current_user.uid %}active{% end %}" href=
"/users/{{ current_user.uid }}">
200 {{ _(
"My Profile") }}
204 {% if current_user.is_staff() %}
205 <li class=
"nav-item">
206 <a class=
"nav-link {% if request.path == "/users
" %}active{% end %}" href=
"/users">
211 <li class=
"nav-item">
212 <a class=
"nav-link {% if request.path.startswith("/groups
") %}active{% end %}" href=
"/groups">
217 <li class=
"nav-item">
218 <a class=
"nav-link {% if request.path == "/stats
" %}active{% end %}" href=
"/stats">
224 {% if current_user.has_sip() %}
225 <li class=
"nav-item">
226 <a class=
"nav-link {% if request.path.startswith("/conferences
") %}active{% end %}" href=
"/conferences">
227 {{ _(
"Conferences") }}
233 <form class=
"form-inline my-2 my-lg-0" action=
"/search" method=
"GET">
234 <input class=
"form-control form-control-sm mr-sm-2" type=
"search" name=
"q"
235 placeholder=
"{{ _("Search
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
239 {% elif hostname ==
"wiki.ipfire.org" %}
240 <button class=
"navbar-toggler" type=
"button" data-toggle=
"collapse" data-target=
"#navbar"
241 aria-controls=
"navbar" aria-expanded=
"false" aria-label=
"Toggle navigation">
242 <span class=
"fas fa-bars"></span>
245 <div class=
"collapse navbar-collapse" id=
"navbar">
246 <form class=
"form-inline ml-auto my-2 my-lg-0" action=
"/search" method=
"GET">
247 <input class=
"form-control form-control-sm" type=
"search" name=
"q"
248 placeholder=
"{{ _("Search...
") }}" aria-label=
"{{ _("Search
") }}" value=
"{% try %}{{ q }}{% except %}{% end %}">
251 <a class=
"btn btn-primary ml-lg-2" href=
"https://www.ipfire.org/donate">
260 {% block container %}
261 <div class=
"container">
262 {% block content %}{% end block %}
268 <div class=
"container border-top">
271 <div class=
"col-12 col-lg-5 mb-3">
272 <h5>IPFire
<span class=
"text-primary">_
</span>People
</h5>
275 Join the community and sign up for our newsletter
278 <a class=
"btn btn-outline-primary text-uppercase" href=
"https://people.ipfire.org/">
283 <div class=
"col-12 col-lg-1">
287 <div class=
"col-12 col-lg-2">
290 <a class=
"footer-link" href=
"/features">{{ _(
"Features") }}
</a>
294 <a class=
"footer-link" href=
"https://wiki.ipfire.org">{{ _(
"Wiki") }}
</a>
298 <a class=
"footer-link" href=
"/support">{{ _(
"Support") }}
</a>
302 <a class=
"footer-link" href=
"https://wiki.ipfire.org/devel">{{ _(
"Development") }}
</a>
307 <div class=
"col-12 col-lg-2">
310 <a class=
"footer-link" href=
"/download">{{ _(
"Download") }}
</a>
314 <a class=
"footer-link" href=
"/blog">{{ _(
"Blog") }}
</a>
318 <a class=
"footer-link" href=
"https://community.ipfire.org/">{{ _(
"Community") }}
</a>
322 <a class=
"footer-link" href=
"/legal">{{ _(
"Legal") }}
</a>
327 <div class=
"col-12 col-lg-2">
330 <a class=
"footer-link" href=
"https://twitter.com/ipfire">{{ _(
"Twitter") }}
</a>
334 <a class=
"footer-link" href=
"https://www.linkedin.com/company/ipfire/">{{ _(
"LinkedIn") }}
</a>
338 <a class=
"btn btn-primary text-uppercase" href=
"https://www.ipfire.org/donate">
350 <script src=
"{{ static_url("js/jquery-
3.3.1.min.js
") }}"></script>
351 <script src=
"{{ static_url("js/popper.min.js
") }}"></script>
352 <script src=
"{{ static_url("js/bootstrap.min.js
") }}"></script>
353 {% block javascript %}{% end block %}