{{ define "main" }}
{{ $slug := .Data.Term | urlize }}
{{ $profile := partial "functions/get_author_profile" (dict "slug" $slug) }}
{{ $avatar := $profile.avatar }}
{{ $avatar_shape := site.Params.hugoblox.layout.avatar_shape | default "circle" }}
{{ else }}
{{ $responsive := partial "functions/process_responsive_image.html" (dict
"image" $avatar
"mode" "fill"
"aspect_ratio" "1:1"
"anchor" "Center"
"sizes" (slice 160 240 320 480)
) }}
{{ end }}
{{ else }}
{{ $profile.title }}
{{ with $profile.status }}
{{ with .icon }}
{{ end }}
{{ end }}