blob: 23e007a17000ec4c416f767b982a990e075cda6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<micro-author>
<micro-card>
<micro-summary>
<micro-thumbnail>
<figure>
<a title="{{ .Data.name }}" href="{{ "" | absURL }}/{{ .Data.user }}">
<picture>
<img
alt="{{ .Data.name }}"
{{- if fileExists (print "content/" .Data.user "/media/profile/picture.png") }}
src="{{ "" | absURL }}/{{ .Data.user }}/media/profile/picture.png"
{{ else }}
{{- $404origin := print "/images/404.png" }}
{{- $404image := imageConfig (print "static/" $404origin) }}
src="{{ $404origin }}"
{{- end -}}
/>
</picture>
</a>
</figure>
</micro-thumbnail>
<micro-header>
<h2><b>{{ .Data.name }}</b></h2>
<h3><a title="" href="{{ "" | absURL }}/{{ .Data.user }}">@{{ .Data.user }}</a></h3>
</micro-header>
<a title="RSS" href="{{ "" | absURL }}/{{ .Data.user }}/rss.xml">
{{ safeHTML (readFile "static/icons/feather/rss.svg") }}
<span>Follow</span>
</a>
</micro-summary>
</micro-card>
</micro-author>
|