aboutsummaryrefslogtreecommitdiff
path: root/templates/default.tpl
blob: 0910c5b4615878ce8acf747e1fcd57855af3154d (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
<!doctype html>
<html>
	<head>
        <link rel="Stylesheet" type="text/css" href="%root_path%style.css" />
        <link rel="Stylesheet" type="text/css" href="%root_path%add.css" />
        <title>%title%</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML' async></script>
		<style>
footer {
	font-size: 80%;
	color: gray;
}

.toc + ul {
    height: 100vh;
    position: fixed;
    top: 0;
    right: 1em;
    width: 20%;
}

.toc {
	display: none;
}

.content {
    width: 75%;
	margin-top: -3em;
}

pre.right {
	float: right;
}
		</style>
	</head>
	<body>
		<div class="top">
		<a href="/">Home</a>
		</div>
		<div class="content">
			%content%
		</div>
		<hr/>
		<footer>
		Page generated on %date% |
		<a href="http://git.hornquist.se/vimwiki/tree/%wiki_path%">Git</a> |
		<a href="http://git.hornquist.se/vimwiki/plain/%wiki_path%">Plain</a>
		</footer>
	</body>
</html>