pages/layouts/people/term.html
Thomas A. Christensen II 4a2ce0c389
fix: Rename people/list.html to people/term.html
This is really the layout for the list of works on each person's page,
so switch to the more specific lookup name.
2025-01-09 15:50:59 -06:00

13 lines
427 B
HTML

{{ define "main" }}
<div class="account-list">
{{ $isMe := eq .Title "Thomas A. Christensen II" }}
{{ range $account, $username := .Params.accounts }}
{{ partial "account.html" (dict "account" $account "username" $username "isMe" $isMe) }}
{{ end }}
</div>
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ range .Pages }}
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ end }}
{{ end }}