summaryrefslogtreecommitdiff
path: root/project/templates/base.xhtml
blob: 596ff9796e37d3bab8681c4731b4fc90122a05c0 (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
<?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 %}</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">
    <h2>Jedidiah Barber's Personal Site</h2>
    <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>