{{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}}
{{end}} {{define "header"}}

~tjp $_

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

Elder-millennial software engineer in Salt Lake City, Utah. Writing about code, tools, and the small web.

{{end}}
{{end}} {{define "footer"}}
{{end}} {{define "page"}}{{template "head" .}}{{template "header" .}}

{{.Title}}

{{joinSections .Sections}}
{{template "footer" .}}{{end}} {{define "weblog"}}{{template "head" .}}{{template "header" .}}

← weblog  / 

{{.Title}}

{{with index .Sections 0}}
{{.}}
{{end}} {{joinSections (slice .Sections 1)}}
{{template "footer" .}}{{end}} {{define "note"}}{{template "head" .}}{{template "header" .}}

← notes

{{.Title}}

{{joinSections .Sections}}
{{template "footer" .}}{{end}}