summaryrefslogtreecommitdiff
path: root/notes/index.html.tmpl
blob: 468a466077c582d8372f0adc69ebd8817dfac879 (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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Notes — tjp.lol</title>
<meta name="description" content="A public cut of my Obsidian notes — a small digital garden.">
<link rel="stylesheet" href="../style.css">
</head>
<body>
<div class="wrap">

{{template "header" .}}
  <main>
    <section class="intro">
      <p>This is a digital garden &mdash; a public slice of the notes I keep in Obsidian. Unlike the <a href="../weblog/index.html">weblog</a>, these aren't essays. They're living pages: some are a paragraph, some are years old, most link to each other. Start anywhere and follow the threads.</p>
    </section>

    <section>
      <h2 class="sec">start here</h2>
    </section>

    <section>
      <h2 class="sec">all notes</h2>
      {{$notes := sortPages (index .Pages "notes") "mod_time"}}{{with $notes}}<div class="note-index">
        {{range .}}<a href="{{rel "notes/index.html" .OutputPath}}">{{.Title}}</a>{{end}}
      </div>{{end}}
    </section>
  </main>

{{template "footer" .}}