17 lines
594 B
HTML
17 lines
594 B
HTML
{{- $authors := .Site.Data.authors }}
|
|
{{- $pageAuthor := lower .Params.author }}
|
|
{{- with $authors }}
|
|
{{- $author := index (where . (lower "name") $pageAuthor) 0 }}
|
|
{{ with $author }}
|
|
<div class = 'author'>
|
|
<a href = '{{ .url }}' target = "{{ .name }}'s profile" class = 'author_pic'>
|
|
<img src = '{{ absURL (printf "images/%s" .photo) }}' alt = ''>
|
|
</a>
|
|
<div class = 'author_meta'>
|
|
<a class = 'author_name' href = '{{ .url }}'>{{ with .fullName }}{{ . }}{{ else }}{{ .name }}{{ end }}</a>
|
|
<p class = 'pale author_bio solo'>{{ .bio }}</p>
|
|
</div>
|
|
</div>
|
|
{{- end }}
|
|
{{- end }}
|