summaryrefslogtreecommitdiffstats
path: root/include/document.tmpl
blob: 1f914cdf1625c8eb5200e486470cdffa73fed939 (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
62
63
64
65
66
67
68
69
<!doctype html>
 
<html>
	<head>
		<meta charset="utf-8">
<TMPL_IF NAME="IS_INDEX">
		<title><TMPL_VAR NAME="BOOK_TITLE"></title>
<TMPL_ELSE>
		<title><TMPL_VAR NAME="BOOK_TITLE"> - <TMPL_VAR NAME="TITLE"></title>
</TMPL_IF>
		<link type="text/css" rel="stylesheet" href="main.css">
		<link rel="start" href="index.html">
<TMPL_IF NAME="PREV_LINK">
		<link rel="prev" href="<TMPL_VAR NAME="PREV_LINK">">
</TMPL_IF>
<TMPL_IF NAME="NEXT_LINK">
		<link rel="next" href="<TMPL_VAR NAME="NEXT_LINK">">
</TMPL_IF>
	</head>
	<body>
		<header>
			<nav>
				<ul>
<TMPL_IF NAME="PREV_LINK">
					<li class="prev">
						<a href="<TMPL_VAR NAME="PREV_LINK">">Prev</a>
					</li>
</TMPL_IF>
<TMPL_IF NAME="NEXT_LINK">
					<li class="next">
						<a href="<TMPL_VAR NAME="NEXT_LINK">">Next</a>
					</li>
</TMPL_IF>
					<li class="start">
						<a href="index.html">Home</a>
					</li>
				</ul>
			</nav>
			<h1><TMPL_VAR NAME="BOOK_TITLE"></h1>
<TMPL_UNLESS NAME="IS_INDEX">
			<h2><TMPL_VAR NAME="CHAPT_TITLE"></h2>
</TMPL_UNLESS>
		</header>
		<section>
<TMPL_VAR NAME="BODY">
		</section>
		<footer>
			<nav>
				<ul>
<TMPL_IF NAME="PREV_LINK">
					<li class="prev">
						<a href="<TMPL_VAR NAME="PREV_LINK">">Prev</a>
						<TMPL_VAR NAME="PREV_TITLE">
					</li>
</TMPL_IF>
<TMPL_IF NAME="NEXT_LINK">
					<li class="next">
						<a href="<TMPL_VAR NAME="NEXT_LINK">">Next</a>
						<TMPL_VAR NAME="NEXT_TITLE">
					</li>
</TMPL_IF>
					<li class="start">
						<a href="index.html">Home</a>
					</li>
				</ul>
			</nav>
		</footer>
	</body>
</html>