binario/layouts/partials/authorbox.html

21 lines
537 B
HTML
Raw Normal View History

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">
<img class="author__img" alt="{{ $.Site.Author.name }} avatar" src="{{ $.Site.Author.avatar | relURL }}" height="90" width="90">
</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 }}