{{/* Who wrote this page, from data/authors.yaml: the ones its front matter names
(author: or authors:, by id or name), else the site's author. */}}
{{ with index .Site.Data "authors" }}{{ $all := . }}
{{ $want := list }}{{ with $.Params.authors }}{{ if kindIs "list" . }}{{ $want = . }}{{ else }}{{ $want = list . }}{{ end }}{{ else }}{{ with $.Params.author }}{{ $want = list . }}{{ else }}{{ with $.Site.Config.Author }}{{ $want = list . }}{{ end }}{{ end }}{{ end }}
{{ $people := list }}
{{ range $want }}{{ $w := print . }}{{ with index $all $w }}{{ $people = append $people . }}{{ else }}{{ range $id, $a := $all }}{{ if eq (print $a.name) $w }}{{ $people = append $people $a }}{{ end }}{{ end }}{{ end }}{{ end }}
{{ with $people }}
{{ end }}{{ end }}