website/themes/hugo-theme-wave/layouts/partials/profile.html

35 lines
1.3 KiB
HTML
Raw Normal View History

2020-01-12 14:14:15 +01:00
<aside id="profile">
<div class="inner profile-inner">
<div class="base-info profile-block">
2022-08-08 21:00:45 +02:00
<img id="avatar" src="{{ .Site.BaseURL }}/css/images/avatar.png">
2020-01-12 14:14:15 +01:00
{{ 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 }}
2020-01-12 21:05:46 +01:00
<a id="follow" href="{{ . }}">
{{with $.Site.Data.l10n.profile.follow_button}}{{.}}{{end}}
</a>
2020-01-12 14:14:15 +01:00
{{ end }}
</div>
<div class="article-info profile-block">
<div class="article-info-block">
{{ len (where .Site.RegularPages "Type" "post") }}
<span>{{with .Site.Data.l10n.profile.posts}}{{.}}{{end}}</span>
</div>
<div class="article-info-block">
{{ len .Site.Taxonomies.tags }}
<span>
2020-01-12 21:05:46 +01:00
{{with .Site.Data.l10n.profile.tags}}{{.}}{{end}}
2020-01-12 14:14:15 +01:00
</span>
</div>
</div>
<div class="contact-info profile-block">
<table class="contact-list">
<tr>
{{ partial "social" . }}
<td><a href="{{ .RelPermalink }}" target="_blank" title="RSS"><i class="fa fa-rss"></i></a></td>
</tr>
</table>
</div>
</div>
2020-01-12 21:05:46 +01:00
</aside>