blob: 2fe38119a39133bf99936964ad84752fdd09b1d2 (
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
|
{{- $author := partial "function-authors-data.html" . -}}
<context-profile>
<context-menu>
<div>
<aside>
<figure>
{{- with .Params.feed -}}
<a title="{{ $.Params.feed.name }}" href="http://{{ $.Params.feed.domain }}">
{{- else -}}
<a title="{{ $author.name }}" href="{{ .Site.BaseURL }}/{{ $author.user }}/#">
{{- end -}}
<picture>
{{ partial "author-picture" . }}
</picture>
</a>
</figure>
</aside>
<aside>
{{- with .Params.feed.name -}}
<h2>{{ . }}</h2>
<p>@{{ $.Params.feed.domain }}</p>
{{- else -}}
<h2>{{ $author.name }}</h2>
<p>@{{ $author.user }}</p>
{{- end -}}
</aside>
</div>
{{- with .Params.feed.description -}}
<p>{{ . }}</p>
{{- else -}}
<p>{{- $author.description | markdownify -}}</p>
{{- end -}}
</context-menu>
</context-profile>
|