aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/author_card.html
blob: fdc8926b638694846c2224841a8e3f19802d9358 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<div class="mw7 center pa4 flex flex-column flex-row-ns bt b--black-10">
  <div class="w-10-ns tc">
    <img src="{{ .avatar }}" class="br-100 w3" />
  </div>
  <div class="w-90-ns ph3-ns">
    <h5 class="f4 mv1 berkshire-swash">
      {{ with .homepage }}
        <a href="{{ . }}" class="link color-inherit">
          {{ $.name }}
        </a>
      {{ else }}
        {{ .name }}
      {{ end }}
    </h5>
    <h6 class="f5 fw3 pa0 ma0">{{ .role }}</h6>
    <p class="f6 lh-copy">
      {{ .bio }}
    </p>
    <div class="f4 mt3">
      {{ partial "social_links" . }}
    </div>
  </div>
</div>