summaryrefslogtreecommitdiff
path: root/index.html.tmpl
blob: 83a9a4f949a2c60419021cf1808e3e2e944a66e9 (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
<!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="Personal site of tjp — software engineer in Salt Lake City. Weblog, notes, projects.">
<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 in. This site is my writing desk: weblog posts moving over from my <span class="mono">gemini://</span> capsule, plus a public cut of the notes I keep in Obsidian and sync across my machines with Syncthing.</p>
      <p>Plain HTML and CSS. No JavaScript, no tracking &mdash; it reads exactly the same with scripts turned off. That's the point.</p>
    </section>

    <section>
      <h2 class="sec">recent posts</h2>
      {{$posts := sortPages (index .Pages "weblog") "post_date"}}{{with $posts}}<ul class="posts">
        {{range slicePages . 0 5}}<li><time datetime="{{date (index .Meta "post_date") "2006-01-02"}}">{{date (index .Meta "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/index.html">all posts &rarr;</a></p>
    </section>

    <div class="cols">
      <section>
        <h2 class="sec">elsewhere</h2>
        <ul class="links">
          <li><span class="k">email</span><a href="mailto:t@tjp.lol">t@tjp.lol</a></li>
          <li><span class="k">code</span><a href="https://github.com/teepark">github.com/teepark</a></li>
          <li><span class="k">fedi</span><a href="https://tilde.zone/@tjpcc" rel="me">@tjpcc@tilde.zone</a></li>
          <li><span class="k">gemini</span><a href="about/index.html">gemini://…/~tjp</a></li>
        </ul>
      </section>
      <!-- <section>
        <h2 class="sec">from the notes</h2>
      </section> -->
    </div>
  </main>

{{template "footer" .}}