summaryrefslogtreecommitdiff
path: root/site.tmpl
diff options
context:
space:
mode:
authort <t@tjp.lol>2026-07-13 11:35:19 -0600
committert <t@tjp.lol>2026-07-13 12:50:44 -0600
commit130fdf3445b267c972fe051d139a88a201ac9888 (patch)
treeea2a2a14ab12f7e38a788eeda4f5c62fdb3522bd /site.tmpl
parent7c49c8d7be14054f2a679fdd83f23de90870cf1c (diff)
move static content index pages (projects, notes, about) into markdown
Diffstat (limited to 'site.tmpl')
-rw-r--r--site.tmpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/site.tmpl b/site.tmpl
index 28175b5..ee0a62b 100644
--- a/site.tmpl
+++ b/site.tmpl
@@ -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 &amp; 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" .}}