{{ define "main" }}
  <article class="author-page">
    {{ with .Params.avatar }}
      <img class="author-photo" src="{{ . }}" alt="{{ $.Title }}" loading="eager" />
    {{ end }}
    <h1 class="author-name">{{ .Title }}</h1>
    {{ with .Content }}<div class="author-bio">{{ . }}</div>{{ end }}
  </article>
{{ end }}
