blob: 7d2376af1f57639d10570e7f5b4f18258bb29ac6 (
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
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>tjp.lol</title>
<meta name="description" content="tjp — software and stuff">
<link rel="stylesheet" href="style.css">
<link rel="alternate" type="application/atom+xml" title="tjp.lol" href="feed.xml">
</head>
<body>
<div class="wrap">
{{template "header" .}}
<main>
<section class="intro">
<p>Welcome to my web space. This site is my writing desk: some random pages, weblog posts, and a public cut of the notes I keep synced across my machines.</p>
<p>Plain HTML and CSS. No Javascript, no tracking.</p>
<p>My interests are a bit all over the place, but around this site you can also find:</p>
<ul>
<li><a href="https://code.tjp.lol">open source code repos</a></li>
<li><a href="https://film.tjp.lol">a gallery of film photography</a></li>
</ul>
</section>
<section>
<h2>recent posts</h2>
{{- $posts := sortPages (index .Pages "weblog") "post_date" "mod_time"}}
{{- with $posts}}
<ul class="posts">
{{- range slicePages . 0 5}}
{{- $post_date := or (index .Meta "post_date") .ModTime}}
<li><time datetime="{{date $post_date "2006-01-02"}}">{{date $post_date "2006-01-02"}}</time><a href="{{rel "index.html" .OutputPath}}">{{.Title}}</a></li>
{{- end}}
</ul>
{{- end}}
<p style="margin-top:.9rem;font-size:.9rem;"><a href="/weblog/">all posts →</a></p>
</section>
<section>
<h2>recently changed notes</h2>
{{- $notes := sortPages (index .Pages "notes") "ModTime"}}
{{- with $notes}}
<ul>
{{- range slicePages . 0 5}}
<li><a href="{{rel "index.html" .OutputPath}}">{{.Title}}</a></li>
{{- end}}
</ul>
{{- end}}
<p style="margin-top:.9rem;font-size:.9rem;"><a href="/notes/">notes →</a></p>
</section>
</main>
{{template "footer" .}}
|