2021-11-13 17:04:10 -06:00
|
|
|
{{ with .Params.authors }}
|
2023-03-24 08:49:02 -05:00
|
|
|
<span class="page-metadata-item" aria-label="{{ i18n "aria_post_meta_authors" }}">
|
2021-11-22 02:21:15 -06:00
|
|
|
{{ partial "icon.html" "user-circle" }}
|
2021-11-13 17:04:10 -06:00
|
|
|
|
2021-11-22 02:21:15 -06:00
|
|
|
{{ if index $.Site.Taxonomies "authors" }}
|
|
|
|
{{ $authors := slice }}
|
|
|
|
{{ range . }}
|
|
|
|
{{ $url := (printf "authors/%s" (. | anchorize)) | absLangURL }}
|
2023-11-03 22:08:23 -05:00
|
|
|
{{ $authors = $authors | append (printf `<a href="%s">%s</a>` $url .) }}
|
2021-11-22 02:21:15 -06:00
|
|
|
{{ end }}
|
2023-11-03 22:08:23 -05:00
|
|
|
{{ delimit $authors ", " | safeHTML }}
|
2021-11-22 02:21:15 -06:00
|
|
|
{{ else }}
|
|
|
|
{{ delimit . ", " }}
|
|
|
|
{{ end }}
|
|
|
|
</span>
|
2021-11-13 17:04:10 -06:00
|
|
|
{{ end }}
|