diff options
| author | t <t@tjp.lol> | 2026-07-13 11:35:19 -0600 |
|---|---|---|
| committer | t <t@tjp.lol> | 2026-07-13 12:50:44 -0600 |
| commit | 130fdf3445b267c972fe051d139a88a201ac9888 (patch) | |
| tree | ea2a2a14ab12f7e38a788eeda4f5c62fdb3522bd /site.tmpl | |
| parent | 7c49c8d7be14054f2a679fdd83f23de90870cf1c (diff) | |
move static content index pages (projects, notes, about) into markdown
Diffstat (limited to 'site.tmpl')
| -rw-r--r-- | site.tmpl | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -4,7 +4,7 @@ <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> -<title>{{if eq .OutputPath "about/index.html"}}About & colophon{{else}}{{.Title}}{{end}} — tjp.lol</title> +<title>{{.Title}} — tjp.lol</title> {{with index .Meta "description" -}} <meta name="description" content="{{.}}"> {{end -}} @@ -94,6 +94,10 @@ {{template "footer" .}} {{end}} +{{define "notes/index" -}} +{{template "page" .}} +{{end}} + {{define "notes" -}} {{template "head" .}} {{template "header" .}} |
