2018-11-18 16:00:23 +00:00
|
|
|
{{- if .Param "authorbox" }}
|
|
|
|
<div class="authorbox block">
|
|
|
|
<div class="author">
|
|
|
|
{{- with .Site.Author.avatar }}
|
|
|
|
<figure class="author__avatar">
|
2019-01-14 13:08:30 +00:00
|
|
|
<img class="author__img" alt="{{ $.Site.Author.name }} avatar" src="{{ $.Site.Author.avatar | relURL }}" height="90" width="90">
|
2018-11-18 16:00:23 +00:00
|
|
|
</figure>
|
|
|
|
{{- end }}
|
|
|
|
<div class="author__body">
|
|
|
|
<div class="author__name">
|
|
|
|
{{ .Site.Author.name }}
|
|
|
|
</div>
|
|
|
|
{{- with .Site.Author.bio }}
|
|
|
|
<div class="author__bio">
|
|
|
|
{{- . -}}
|
|
|
|
</div>
|
|
|
|
{{- end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{- end }}
|