{{ $disableImageOptimization := .Site.Params.disableImageOptimization | default false }}
{{ with .Site.Author.image }} {{ $authorImage := "" }} {{ if or (strings.HasPrefix . "http:") (strings.HasPrefix . "https:") }} {{ $authorImage = resources.GetRemote . }} {{ else }} {{ $authorImage = resources.Get . }} {{ end }} {{ if $authorImage }} {{ if not $disableImageOptimization }} {{ $authorImage = $authorImage.Fill "192x192" }} {{ end }} {{ $.Site.Author.name | default {{ else }} {{ $authorImage := resources.GetRemote . }} {{ if not $disableImageOptimization }} {{ $authorImage = $authorImage.Fill "192x192" }} {{ end }} {{ $.Site.Author.name | default {{ end }} {{ end }}
{{ with .Site.Author.name | markdownify }}
{{ i18n "author.byline_title" | markdownify }}
{{ . }}
{{ end }} {{ with .Site.Author.bio | markdownify }}
{{ . }}
{{ end }}
{{ partialCached "author-links.html" . }}