aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/author-card.html
blob: bbb79b0747b4a09275376359b4d25c464b9cc3f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<micro-author>
  <micro-card>
    <micro-summary>
    <micro-thumbnail>
      <figure>
        <a title="{{ .Data.name }}" href="/{{ .Data.user }}#">
          <picture>
            <img alt="{{ .Data.name }}" src="/{{ .Data.user }}/media/profile/picture.png" />
          </picture>
        </a>
      </figure>
    </micro-thumbnail>
      <micro-header>
        <h1>{{ .Data.name }}</h1>
        <h2><a title="" href="/{{ .Data.user }}">@{{ .Data.user }}</a></h2>
      </micro-header>
      <a title="RSS" href="/{{ .Data.user }}/rss.xml">
        {{ safeHTML (readFile "static/icons/feather/rss.svg") }}
        <span>Follow</span>
      </a>
    </micro-summary>
  </micro-card>
</micro-author>