blob: 6ff797e3054aee4cfcc1c78140c051d05e6bc2a0 (
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
|
## Single line comment
<!DOCTYPE html>
<%doc>
This is the base template
</%doc>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1">
<title>
% if page.meta.get ('title', None) and page.url != '/':
/ ${page.url}
% endif
</title>
<link type="text/css" rel="stylesheet" href="/style.css" />
</head>
<body>
<div class="header-wrapper">
<header>
<nav>
<ul>
% for item in site.data['menu']:
<li>
<a href="${item['url']}">
% if 'image' in item:
<img src="${item['image']}" height="12px">
% endif
${item['title']}
</a>
</li>
% endfor
</ul>
</nav>
</header>
</div>
<div id="container">
<section id="content">
${self.body()}
</section>
<footer>
<a href="#">Imprint</a> | <a href="#">Privacy policy</a>
</footer>
</div>
<script type="text/javascript">
</script>
</body>
</html>
|