diff options
| author | t <t@tjp.lol> | 2026-07-11 12:08:14 -0600 |
|---|---|---|
| committer | t <t@tjp.lol> | 2026-07-11 12:10:15 -0600 |
| commit | 2ab0e23eca3c5cac82d948e506b3f1cb81bedd18 (patch) | |
| tree | 46dc28dcea6265ece0f4763cdff372f84578e172 /notes/index.html.tmpl | |
| parent | 9faffbf6bc5083239d69a2daedac273e6d814bc3 (diff) | |
Migrate site pages to Weft templates and Markdown
Diffstat (limited to 'notes/index.html.tmpl')
| -rw-r--r-- | notes/index.html.tmpl | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/notes/index.html.tmpl b/notes/index.html.tmpl new file mode 100644 index 0000000..468a466 --- /dev/null +++ b/notes/index.html.tmpl @@ -0,0 +1,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 — 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" .}} |
