blob: bd87ad55bd20173c9b8bbfd5767db107536e91d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{{- $authors := partial "function-authors-slice.html" . -}}
<author-list>
<h1>Authors</h1>
<aside>
{{- range $author := first 3 (shuffle $authors) -}}
{{- $data := index $.Site.Data $author | default "default" -}}
{{- $date := (index (first 1 (where $.Site.Pages.ByDate.Reverse "Section" $author)) 0).Date -}}
{{- partial "author-card.html" (dict
"Data" $data
"Date" $date
)
-}}
{{- end -}}
</aside>
</author-list>
|