2024-10-18 07:33:33 +00:00
|
|
|
{{- $name := .name }}
|
2024-10-15 08:09:14 +00:00
|
|
|
{{- $url := .url }}
|
|
|
|
{{- $icon := .icon }}
|
2024-10-12 18:45:14 +00:00
|
|
|
<span class="author-card h-card vcard">
|
2024-10-18 07:33:33 +00:00
|
|
|
{{- if $url }}
|
|
|
|
<a class="author-card__link u-url url" href="{{$url}}">
|
|
|
|
{{- end }}
|
|
|
|
{{- if $icon }}
|
|
|
|
<img class="author-card__avatar u-photo u-logo photo logo"
|
|
|
|
src="{{$icon}}"
|
|
|
|
alt=""
|
|
|
|
width="48"
|
|
|
|
height="48"
|
|
|
|
aria-hidden="true"
|
|
|
|
/>
|
|
|
|
{{- else }}
|
|
|
|
<span class="author-card__avatar"></span>
|
|
|
|
{{- end }}
|
|
|
|
{{- if $name }}
|
|
|
|
<span class="author-card__name p-name fn">{{$name}}</span>
|
|
|
|
{{- end }}
|
|
|
|
{{- if $url }}
|
|
|
|
</a>
|
|
|
|
{{- end }}
|
2024-10-05 06:27:07 +00:00
|
|
|
</span>
|