blob: ee9efe63261a5a46eafad27b487168ca6d0b40b3 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{{ $author := index .Site.Data.authors ((or .Params.author .Site.Author.default.user) | default "default") }}
<micro-header>
<micro-header-image>
<picture>
{{ partial "author-header.html" . }}
</picture>
</micro-header-image>
<micro-header-picture>
<picture>
{{ partial "author-picture.html" . }}
</picture>
</micro-header-picture>
<section>
<micro-header-title>
<h1>{{ $author.name }}</h1>
<h2>@{{ $author.user }}</h2>
</micro-header-title>
<micro-header-description>
<p>
{{ $author.description | markdownify }}
</p>
</micro-header-description>
</section>
<footer>
<p>
{{ safeHTML (readFile "static/icons/feather/map-pin.svg") }}
<span>{{- $author.place | markdownify -}}</span>
</p>
<p>
{{ safeHTML (readFile "static/icons/feather/globe.svg") }}
<a href="{{ $author.domain.url }}">
{{- $author.domain.host | markdownify -}}
</a>
</p>
<p>
{{ safeHTML (readFile "static/icons/feather/clock.svg") }}
<span>{{- $author.epoch | markdownify -}}</span>
</p>
<p>
{{ safeHTML (readFile "static/icons/feather/user.svg") }}
<span><b>{{ with $author.webring.rss }}{{ len . }}{{ else }} 0 {{ end }}</b> Following</span>
</p>
</footer>
</micro-header>
{{ partial "profile-tabs.html" . }}
|