website/themes/hugo-theme-wave/layouts/partials/profile.html
Paul Lecuq 2c68009a0b
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
updated website theme
2023-12-16 00:45:47 +01:00

35 lines
1.3 KiB
HTML

<aside id="profile">
<div class="inner profile-inner">
<div class="base-info profile-block">
<img id="avatar" src="{{ .Site.BaseURL }}/css/images/avatar.png">
{{ 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 (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>
{{with .Site.Data.l10n.profile.tags}}{{.}}{{end}}
</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>
</aside>