blob: 15993a916c39f31c04fbc5521d735dc08ad5231c (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
<!doctype html>
<html lang="en-us">
<head>
{% block head %}
<meta charset="utf-8">
<title>
{% block title %}{{ site_name | default("Philipp Geyer") }}{% endblock %}
{% block subtitle %}{% endblock %}
</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
{% if site_owner is defined %}<meta name="author" content="{{ site_owner }}" />{% endif %}
{% if site_description is defined %}<meta name="description" content="{{ site_description }}" />{% endif %}
{% if site_keywords is defined %}<meta name="keywords" content="{{ site_keywords }}" />{% endif %}
{% block meta %}{% endblock %}
<link rel="stylesheet" href="{{ url_for("static", file="style.css") }}" type="text/css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Lora&family=Space+Mono&display=swap" />
{% endblock %}
</head>
<body>
{# Top navigation bar #}
{% block nav %}
<header>
<h1>
<a href="{{ url_for("index") }}">
{% block title %}{{ site_name | default("Philipp Geyer") }}{% endblock %}
</a>
</h1>
<a href="#main" class="visually-hidden">jump to main content</a>
<nav>
<ul class="menu">
<li><a href="{{ url_for("blog") }}">posts</a></li>
<li><a href="{{ url_for("articles") }}">pages</a></li>
</ul>
</nav>
</header>
{% endblock %}
{# Probably where most of the action will happen #}
<main id="main">
{% block main %}{% endblock %}
</main>
{# Links, copyright notice, etc #}
{% block footer %}
<footer>
<div id="footer_content">
<ul class="menu">
<li><a href="{{ url_for("pages", slug="about") }}">about</a></li>
<li><a href="{{ url_for("cv", slug="00") }}">experience</a></li>
<li><a href="https://github.com/nistur/cv/releases/latest">CV</a></li>
</ul>
<ul class="menu">
<li><a href="{{ url_for("pages", slug="contact") }}">contact</a></li>
<li><a href="{{ url_for("pages", slug="credits") }}">credits</a></li>
</ul>
</div>
</footer>
{% endblock %}
</body>
</html>
|