summaryrefslogtreecommitdiff
path: root/layouts/index.html
blob: fc5d6bce88f4f5af262d864c487876033c8d0d28 (plain) (blame)
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
<!DOCTYPE html>
<html lang="en">

{{ partial "head.html" . }}

<body class="wider-body">

<h1>{{$.Title}}</h1>

<main class="index flexcols">
	<aside class="flexcol">
		<table>
			{{- /*
			<thead>
				<tr>
					<th colspan="2">Runxi Yu</th>
				</tr>
			</thead>
			*/ -}}
			<tbody>
				<tr>
					<th scope="row">email</th>
					<td><a href="mailto:me@runxiyu.org">me@runxiyu.org</a></td>
				</tr>
				<tr>
					<th scope="row">irc</th>
					<td><code>runxiyu</code> on <a href="https://irc.runxiyu.org">irc.rx</a> and many others</td>
				</tr>
				<tr>
					<th scope="row">git</th>
					<td><a href="https://git.runxiyu.org">git.rx</a> <a href="https://git.andrewyu.org">contrib</a> <a href="https://sr.ht/~runxiyu">sr.ht</a> <a href="https://codeberg.org/runxiyu">codeberg</a> <a href="https://github.com/runxiyu">github</a></td>
				</tr>
				<tr>
					<th scope="row">sites</th>
					<td><a href="https://git.runxiyu.org/runxiyu/philo.git/plain">tex</a> <a href="https://docs.runxiyu.org">docs</a> <a href="https://ykps.runxiyu.org">school</a></td>
				</tr>
				<tr>
					<th scope="row">misc</th>
					<td><a class="rss" href="/blog/index.xml">rss</a></td>
				</tr>
				<tr>
					<th scope="row">pronouns</th>
					<td>they/<a href="/blog/zhpronoun"></a></td>
				</tr>
				<tr>
					<th scope="row">zoneinfo</th>
					<td>Asia/Shanghai +0800</td>
				</tr>

			</tbody>
		</table>
		{{.Content}}
	</aside>
	<section class="article-list flexcol">

		{{ range (where (where .Site.RegularPages "Section" "blog") "Params.nohtml" "!=" "true") }}
		{{- if .OutputFormats.Get "html" }}
		<div class="article">
			<span class="date">{{.Date.Format "January 2, 2006"}}</span>
			<a href="{{.Permalink}}">{{.Title}}</a>
		</div>
		{{ end }}
		{{ end }}
	</section>


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

</body>
</html>