summaryrefslogtreecommitdiff
path: root/themes/bare/layouts/index.html
blob: adc500dd0d44c622f8cdd9b24e5445a9f85cdf50 (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
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html>

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

<html>
	
	<head>

		<title>xengineering</title>

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

	</head>
	
	<body>

		<main>

			<h1>{{.Params.heading}}</h1>

			<div class="card">
				<h3 class="card-first-item">Contact</h3>
				<p>Mail: {{.Params.email}}</p>
				<p>XMPP: {{.Params.xmpp}}</p>
				<p class="card-last-item">OpenPGP: <a href="{{.Params.openpgp.file}}">{{.Params.openpgp.fingerprint}}</a></p>
			</div>

			{{.Content}}

			<h2>My projects</h2>
			<p>Here is a list of all my published projects. The active ones are
			regularly used by myself.</p>

			<h4>Experimental</h4>
			<ul>
				{{ range.Site.RegularPages }}
				{{ if eq .Section "git" }}
				{{ if eq .Params.state "experimental" }}
				<li><a href="{{.Permalink}}">{{.Params.friendly_name}}</a> - {{.Description}}</li>
				{{ end }}
				{{ end }}
				{{ end }}
			</ul>

			<h4>Active</h4>
			<ul>
				{{ range.Site.RegularPages }}
				{{ if eq .Section "git" }}
				{{ if eq .Params.state "active" }}
				<li><a href="{{.Permalink}}">{{.Params.friendly_name}}</a> - {{.Description}}</li>
				{{ end }}
				{{ end }}
				{{ end }}
			</ul>

			<h4>Archived</h4>
			<ul>
				{{ range.Site.RegularPages }}
				{{ if eq .Section "git" }}
				{{ if eq .Params.state "archived" }}
				<li><a href="{{.Permalink}}">{{.Params.friendly_name}}</a> - {{.Description}}</li>
				{{ end }}
				{{ end }}
				{{ end }}
			</ul>

			<br>
			<hr>
			<footer>License: <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA</a></footer>

		</main>

	</body>

</html>