-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.html
42 lines (41 loc) · 1.24 KB
/
layout.html
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
<!doctype html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Inconsolata:400,700|Lato|Roboto+Condensed" rel="stylesheet">
<link rel="stylesheet" href="{{ get_pygments_stylesheet()|url }}">
<link rel="stylesheet" href="{{ '/static/style.css'|url }}">
<script defer src="{{ '/static/fontawesome/fa-regular.js'|url }}"></script>
<script src="{{ '/static/fontawesome/fontawesome.js'|url }}"></script>
</head>
<title>{% block title %}{% endblock %} Partially Applied</title>
<body>
<div id="site-content">
<header>
<h1><a href="/">Partially Applied</a></h1>
<div class="menu">
<nav>
{% for href, title in [
['/blog', 'Blog'],
['/software', 'Software'],
['/speaking', 'Speaking'],
['/about', 'About']
] %}
<div class="menu-item">
<a {% if this.is_child_of(href) %} class="active" {% endif %}
href="{{ href|url }}">
{{ title }}
</a>
</div>
{% endfor %}
</nav>
<hr/>
</div>
</header>
<div class="page">
{% block body %}{% endblock %}
</div>
<footer>
© Copyright 2020 Scott Sanderson.
</footer>
</div>
</body>