{{ $disableImageOptimization := .Site.Params.disableImageOptimization | default false }}
{{ with .data.image }} {{ $authorImage := resources.Get . }} {{ if $authorImage }} {{ if not $disableImageOptimization }} {{ $authorImage = $authorImage.Fill "192x192" }} {{ end }} {{ else }} {{ $authorImage := resources.GetRemote . }} {{ if not $disableImageOptimization }} {{ $authorImage = $authorImage.Fill "192x192" }} {{ end }} {{ end }} {{ end }}
{{ $link := .link}} {{ with .data.name | markdownify | emojify }}
{{ i18n "author.byline_title" | markdownify | emojify }}
{{ . }} {{ end }} {{ with .data.bio | markdownify | emojify }}
{{ . }}
{{ end }}
{{ range .data.social }} {{ range $name, $link := . }} {{ partial "icon.html" $name }} {{ end }} {{ end }}