-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.html
30 lines (30 loc) · 912 Bytes
/
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
<!doctype html>
<meta charset="utf-8">
<link rel="stylesheet" href="{{ '/static/style.css'|url }}">
<link rel="stylesheet" href="{{ '/static/github-markdown.css'|url }}">
<title>{% block title %}Welcome{% endblock %} — Dog Food</title>
<body>
<header>
<h1>Dog Food</h1>
<nav>
<ul class="nav navbar-nav">
<li{% if this._path == '/' %} class="active"{% endif
%}><a href="{{ '/'|url }}">Welcome</a></li>
{% for href, title in [
['/blog', 'Blog'],
['/projects', 'Projects'],
['/about', 'About']
] %}
<li{% if this.is_child_of(href) %} class="active"{% endif
%}><a href="{{ href|url }}">{{ title }}</a></li>
{% endfor %}
</ul>
</nav>
</header>
<div class="page markdown-body">
{% block body %}{% endblock %}
</div>
<footer>
© Copyright 2016 by Pius Lee.
</footer>
</body>