blob: 163b726c648f19cca5c0b2df9e9368040012b11b (
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
|
<aside id="profile">
<div class="inner profile-inner">
<div class="base-info profile-block">
{{ with .Site.Params.gravatar }}
<img id="avatar" src="https://www.gravatar.com/avatar/{{ . | md5 }}?s=100&d=identicon"/>
{{ else }}
<img id="avatar" src="{{ .Site.Params.avatar | absURL }}">
{{ end }}
{{ with .Site.Params.author}}<h2 id="name">{{ . }}</h2>{{ end }}
{{ with .Site.Params.bio }}<h3 id="title">{{ . }}</h3>{{ end }}
{{ with .Site.Params.location }}<span id="location"><i class="fa fa-map-marker"></i>{{ . }}</span>{{ end }}
{{ with .Site.Params.profile.follow_button }}
<a id="follow" href="{{ . }}">
{{with $.Site.Data.l10n.profile.follow_button}}{{.}}{{end}}
</a>
{{ end }}
</div>
<div class="article-info profile-block">
<div class="article-info-block">
{{ len .Site.RegularPages }}
<span>{{with .Site.Data.l10n.profile.posts}}{{.}}{{end}}</span>
</div>
<div class="article-info-block">
{{ if isset .Site.Taxonomies "tags" }}
{{ len .Site.Taxonomies.tags }}
{{ else }}
0
{{ end }}
<span>
{{with .Site.Data.l10n.profile.tags}}{{.}}{{end}}
</span>
</div>
</div>
<div class="profile-block social-links">
<table>
<tr>
{{ partial "social" . }}
<td><a href="{{ .Site.RSSLink }}" target="_blank" title="RSS"><i class="fa fa-rss"></i></a></td>
</tr>
</table>
</div>
</div>
</aside>
|