{{ if .Params.showAuthor | default (.Site.Params.article.showAuthor | default true) }} {{- warnf "%s called. Author %s should be shown." .Page.File .Site.Language.Params.Author.name }}
{{ $lazy := .Params.enableImageLazyLoading|default .Site.Params.enableImageLazyLoading | default true }} {{ $altText := ($.Site.Language.Params.Author.name | default "Author") }} {{ with .Site.Language.Params.Author.image }} {{ $authorImage := resources.Get . }} {{ if $authorImage }} {{ $imgClass := "!mb-0 !mt-0 me-4 w-24 h-auto rounded-full" }} {{ partial "picture.html" (dict "img" $authorImage "alt" $altText "class" $imgClass "lazy" $lazy ) }} {{ end }} {{ end }}
{{ with .Site.Language.Params.Author.name | markdownify | emojify }}
{{ i18n "author.byline_title" | markdownify | emojify }}
{{ . }}
{{ end }} {{ with .Site.Language.Params.Author.bio | markdownify | emojify }}
{{ . }}
{{ end }}
{{ partialCached "author-links.html" . }}
{{ end }}