]> jfr.im git - irc/freenode/web-7.0.git/blob - templates/base.html
Add 2020-11-28-chanserv-cloak-changes.md (#476)
[irc/freenode/web-7.0.git] / templates / base.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <meta content="IE=edge" http-equiv="X-UA-Compatible">
6 <meta content="width=device-width, initial-scale=1" name="viewport">
7 {#- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags #}
8 <meta name="theme-color" content="#292f2f">
9 <meta name="description" content="{{ config.DESCRIPTION }}">
10 {%- if robots is defined and robots is not none %}
11 <meta name="robots" content="{{ robots }}">
12 {%- endif %}
13 <link rel="icon" href="{{ url_for("static/img/logos/coloured-alphabg-sq-120.png") }}">
14 {%- block links %}
15 <link rel="alternate" type="application/rss+xml" href="{{ url_for("news/rss") }}" title="news (rss)">
16 <link rel="alternate" type="application/atom+xml" href="{{ url_for("news/atom") }}" title="news (atom)">
17 {%- endblock %}
18 <title>{% block title %}{{ title }} - {{ config.name }}{% endblock %}</title>
19 {%- for stylesheet in ['open-sans.css', 'font-awesome.css', 'style.css'] %}
20 <link href="{{ url_for("static/css/" + stylesheet) }}?{{ git_hash }}" rel="stylesheet">
21 {%- endfor %}
22 </head>
23 <body>
24 <nav class="navbar">
25 <a id="nav-jump" class="invisible" href="#navigation">Jump to navigation</a>
26 <a id="nav-logo" href="{{ url_for("index") }}"><img alt="freenode" class="nlogo" src="{{ url_for("static/img/logos/coloured-alphabg.svg") }} "></a>
27 <a id="nav-pia" href="https://www.privateinternetaccess.com/pages/buy-vpn/freend/" target="_blank"><img alt="Private Internet Access" class="nlogo" src="{{ url_for("static/img/logos/PIALogo_white.svg") }}"></a>
28 <form id="nav-search" action="https://www.google.com/cse">
29 <input type="hidden" name="cx" value="partner-pub-3720690829065633:9p8fr4-u91g">
30 <input type="hidden" name="ie" value="ISO-8859-1">
31 <label for="search" class="invisible">Query:</label>
32 <input id="nav-searchbox" type="text" name="q" placeholder="Search using Google">
33 <label id="nav-label" for="nav-searchbox"><i class="fa fa-search fa-lg"></i></label>
34 <input id="nav-submit" type="submit" class="invisible" value="Search using Google">
35 </form>
36 </nav>
37 <div class="container">
38 {% block content %}{% endblock %}
39 </div>
40 <div class="footers">
41 <a id="navigation"></a>
42 {% include "footer.html" %}
43 </div>
44 {#- scripts last to avoid blocking rendering #}
45 <script src="{{ url_for("static/js/utils.js") }}?{{ git_hash }}" type="text/javascript"></script>
46 </body>
47 </html>