aboutsummaryrefslogtreecommitdiffstats
path: root/adenosine-pds/templates/base.html
blob: cb88c0c28ae5990d25cc7b74a1753d33e116f300 (plain)
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
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="/static/adenosine.css" type="text/css">
    <link rel="icon" href="/static/favicon.png" />
    <title>{% block title -%}adenosine{%- endblock %}</title>
    {% block head %}{% endblock %}
  </head>
  <body>
    <nav class="header">
      <a href="/">
        <h1>
          <img src="/static/logo_128.png" width="48" height="48"><span> {{ domain }}</span>
        </h1>
      </a>
    </nav>
    <hr>
    <main>
      {% block main %}{% endblock %}
    </main>
    <hr>
    <footer>
      <nav>
        <a href="/">home</a> -
        <a href="/about">about</a> -
        <a href="https://gitlab.com/bnewbold/adenosine">adenosine v{{ env!("CARGO_PKG_VERSION") }}</a>
      </nav>
    </footer>
  </body>
</html>