thrrgilag.net/themes/binario/layouts/partials/authorbox.html
Morgan McMillian 022c04d286 new site theme
2019-09-07 12:40:58 -07:00

21 lines
No EOL
536 B
HTML

{{- 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 }}