summaryrefslogtreecommitdiff
path: root/layouts/git/single.html
blob: 69c8a8072d7d5c0381f8bb85f14975777f28bdf5 (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
<!DOCTYPE html>

<!--
	vim: shiftwidth=4 tabstop=4 noexpandtab
-->

<html>
	
	<head>

		<title>{{.Params.friendly_name}}</title>

		<meta charset="utf-8"/>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<link rel="stylesheet" href="{{ "style.css" | absURL }}" type="text/css">

	</head>
	
	<body>

		<header>
			<nav>
				<a href="{{ "/" | absURL }}">Home</a>
				<a href="https://cgit.xengineering.eu/{{ .Params.name }}">cgit</a>
				<a href="https://cgit.xengineering.eu/{{ .Params.name }}/atom">Atom feed</a>
				<a href="https://cgit.xengineering.eu/{{ .Params.name }}">Clone URL</a>
			<nav>
			<h1>{{.Params.friendly_name}}</h1>
			<p>{{ .Params.description }}</p>
		</header>

		<main>

			<p class="notice">State: <strong>{{ .Params.state }}</strong></p>

			{{.Content}}

			{{ partial "footer.html" . }}
		</main>

	</body>

</html>