2024-06-06 07:56:49 +00:00
|
|
|
{{ with .GetTerms "authors" }}
|
|
|
|
{{ range . }}
|
2024-06-03 23:22:36 +00:00
|
|
|
<address class="p-author h-card author vcard">
|
2024-06-06 07:56:49 +00:00
|
|
|
<a href="{{ .Permalink }}" class="u-url u-uid url uid" rel="author">
|
|
|
|
{{ with .Resources.GetMatch "avatar" }}
|
|
|
|
<img class="u-photo u-logo photo logo" src="{{.Permalink }}" width=16 height=16 alt="">
|
|
|
|
{{ else }}
|
|
|
|
<div class="no-avatar">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><title>mdi:person</title><path fill="currentColor" d="M12 4a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m0 10c4.42 0 8 1.79 8 4v2H4v-2c0-2.21 3.58-4 8-4"/></svg>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
<span class="p-name fn">{{ .Title }}</span>
|
2024-06-03 23:22:36 +00:00
|
|
|
</a>
|
2024-06-06 07:56:49 +00:00
|
|
|
</address>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|