From 0e602cfa7881f789c3e9f1d5f25db9a8179cd0fc Mon Sep 17 00:00:00 2001 From: t Date: Sun, 12 Jul 2026 20:00:15 -0600 Subject: site updates --- site.tmpl | 71 ++++++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 48 insertions(+), 23 deletions(-) (limited to 'site.tmpl') diff --git a/site.tmpl b/site.tmpl index 6299dce..28175b5 100644 --- a/site.tmpl +++ b/site.tmpl @@ -1,21 +1,29 @@ -{{define "head"}} +{{define "head" -}} + {{if eq .OutputPath "about/index.html"}}About & colophon{{else}}{{.Title}}{{end}} — tjp.lol -{{with index .Meta "description"}} -{{end}} -{{if or (eq .OutputPath "weblog/index.html") (index .Meta "post_date")}} -{{end}} +{{with index .Meta "description" -}} + +{{end -}} + +{{if eq (printf "%.7s" .URL) "/weblog" -}} + +{{end -}} +
{{end}} -{{define "header"}}
+{{define "header" -}} +

~tjp $_

- {{if eq .OutputPath "index.html"}}

Elder millennial in Salt Lake City, Utah.

- {{end}}
{{end}} -{{define "footer"}}