13 lines
No EOL
471 B
HTML
13 lines
No EOL
471 B
HTML
{{- $author := or .Params.author .Site.Params.author }}
|
|
{{- /* normalize [params.author] to [[params.author]] */}}
|
|
{{- if reflect.IsMap $author }}
|
|
{{- $author = slice ($author) }}
|
|
{{- end }}
|
|
{{- with $author }}
|
|
<p class="feed-authors-hint">Feed authored by:</p>
|
|
<ul class="feed-authors" data-authors-count="{{len .}}">
|
|
{{- range . }}
|
|
<li class="feed-author">{{- partial "components/author-card.html" . }}</li>
|
|
{{- end }}
|
|
</ul>
|
|
{{ end -}}{{/* end with author h-card */ -}} |