summaryrefslogtreecommitdiff
path: root/project/templates/base.xhtml
blob: 1e49e0944177f95c3a2993b6c08ad33a86435671 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="utf-8"?>
{% block doctype -%}
{%- endblock %}
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>{% block title %}{% endblock %} - jedbarber.id.au</title>
    <link href="/favicon.ico" rel="icon" type="image/x-icon" />
    <link href="/css/default.css" rel="stylesheet" />
{%- block style -%}
{%- endblock -%}
</head>
<body>
  <div class="white">
    <div class="header">
      <h2>Jedidiah Barber's Personal Site</h2>
      <a href="https://liberapay.com/jedb/donate">
          <img src="/img/liberapay_donate.svg"
               alt="Donate via Liberapay"
               height="30"
               width="83" />
      </a>
    </div>
    <hr />
    <div class="nav">
        <ul>
            <li><a href="/">Index</a></li>
            <li><a href="/about.xhtml">About</a></li>
            <li><a href="/tags.xhtml">Tags</a></li>
            <li><a href="/cgi-bin/cgit.cgi">Git</a></li>
            <li><a href="/links.xhtml">Links</a></li>
        </ul>
    </div>
    <hr />
    <div class="article">
{% block content -%}
{%- endblock %}
    </div>
    <div class="footer">
{%- block footer -%}
{%- endblock %}
    </div>
    <hr />
  </div>
</body>
</html>