16 lines
No EOL
697 B
HTML
16 lines
No EOL
697 B
HTML
{{ with .GetTerms "authors" }}
|
|
{{ range . }}
|
|
<address class="p-author h-card author vcard">
|
|
<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>
|
|
</a>
|
|
</address>
|
|
{{ end }}
|
|
{{ end }} |